Skip to content

Commit 60f9669

Browse files
committed
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 <[email protected]>
1 parent f9d0f43 commit 60f9669

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

2017/state-of-go-may/alias/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// +build go1.9
2+
13
package main
24

35
import (

2017/state-of-go-may/bits/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// +build go1.9
2+
13
package main
24

35
import (

2017/state-of-go-may/syncmap/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// +build go1.9
2+
13
package main
24

35
import (

0 commit comments

Comments
 (0)