Add docs on 1.17 build tags

pull/1164/head
Torkel Rogstad 2022-02-10 16:00:40 +01:00 committed by Boyan Soubachov
parent 83198c2c50
commit e798dc2763
3 changed files with 12 additions and 0 deletions

View File

@ -1,5 +1,9 @@
// +build go1.17
// TODO: once support for Go 1.16 is dropped, this file can be
// merged/removed with assertion_compare_go1.17_test.go and
// assertion_compare_legacy.go
package assert
import "reflect"

View File

@ -1,5 +1,9 @@
// +build go1.17
// TODO: once support for Go 1.16 is dropped, this file can be
// merged/removed with assertion_compare_can_convert.go and
// assertion_compare_legacy.go
package assert
import (

View File

@ -1,5 +1,9 @@
// +build !go1.17
// TODO: once support for Go 1.16 is dropped, this file can be
// merged/removed with assertion_compare_go1.17_test.go and
// assertion_compare_can_convert.go
package assert
import "reflect"