Skip to content

Commit e798dc2

Browse files
torkelrogstadboyan-soubachov
authored andcommitted
Add docs on 1.17 build tags
1 parent 83198c2 commit e798dc2

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

assert/assertion_compare_can_convert.go

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// +build go1.17
22

3+
// TODO: once support for Go 1.16 is dropped, this file can be
4+
// merged/removed with assertion_compare_go1.17_test.go and
5+
// assertion_compare_legacy.go
6+
37
package assert
48

59
import "reflect"

assert/assertion_compare_go1.17_test.go

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// +build go1.17
22

3+
// TODO: once support for Go 1.16 is dropped, this file can be
4+
// merged/removed with assertion_compare_can_convert.go and
5+
// assertion_compare_legacy.go
6+
37
package assert
48

59
import (

assert/assertion_compare_legacy.go

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// +build !go1.17
22

3+
// TODO: once support for Go 1.16 is dropped, this file can be
4+
// merged/removed with assertion_compare_go1.17_test.go and
5+
// assertion_compare_can_convert.go
6+
37
package assert
48

59
import "reflect"

0 commit comments

Comments
 (0)