Skip to content

Commit 9bde828

Browse files
committed
add old syntax of build constraint
1 parent 29bf22a commit 9bde828

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

generic/task.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// go:build go1.18
1+
//go:build go1.18
2+
// +build go1.18
23

34
package generic
45

generic/task_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// go:build go1.18
1+
//go:build go1.18
2+
// +build go1.18
23

34
package generic
45

0 commit comments

Comments
 (0)