commit | 60f96695a6d92965c8194f329ed72f1d121be862 | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <shurcooL@gmail.com> | Fri May 19 11:40:16 2017 -0400 |
committer | Dmitri Shuralyov <shurcool@gmail.com> | Fri May 19 15:53:58 2017 +0000 |
tree | 76249c7e51415e3fb630a3ea7b4ce7469bccb340 | |
parent | f9d0f43e81708bef917a5084443cfc9c5eade034 [diff] |
2017/state-of-go-may: add +build go1.9 constraint for Go 1.9+ samples Fixes golang/go#20424. Change-Id: I4e4721d1f61696b36ebe418457c3c51afbf0c1a6 Reviewed-on: https://go-review.googlesource.com/43731 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/2017/state-of-go-may/alias/main.go b/2017/state-of-go-may/alias/main.go index ddc386e..9e93c99 100644 --- a/2017/state-of-go-may/alias/main.go +++ b/2017/state-of-go-may/alias/main.go
@@ -1,3 +1,5 @@ +// +build go1.9 + package main import (
diff --git a/2017/state-of-go-may/bits/main.go b/2017/state-of-go-may/bits/main.go index ad3ca08..e791883 100644 --- a/2017/state-of-go-may/bits/main.go +++ b/2017/state-of-go-may/bits/main.go
@@ -1,3 +1,5 @@ +// +build go1.9 + package main import (
diff --git a/2017/state-of-go-may/syncmap/main.go b/2017/state-of-go-may/syncmap/main.go index aeccb68..c389c62 100644 --- a/2017/state-of-go-may/syncmap/main.go +++ b/2017/state-of-go-may/syncmap/main.go
@@ -1,3 +1,5 @@ +// +build go1.9 + package main import (