Skip to content

Commit

Permalink
Add docs on 1.17 build tags
Browse files Browse the repository at this point in the history
  • Loading branch information
torkelrogstad authored and boyan-soubachov committed Feb 15, 2022
1 parent 83198c2 commit e798dc2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assert/assertion_compare_can_convert.go
@@ -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"
Expand Down
4 changes: 4 additions & 0 deletions assert/assertion_compare_go1.17_test.go
@@ -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 (
Expand Down
4 changes: 4 additions & 0 deletions assert/assertion_compare_legacy.go
@@ -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"
Expand Down

0 comments on commit e798dc2

Please sign in to comment.