Skip to content

Commit

Permalink
test: add any define for test on go < 1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Sep 15, 2022
1 parent c38278e commit 9fcffad
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions any_test.go
@@ -0,0 +1,7 @@
//go:build !go1.18
// +build !go1.18

package properties_test

// alias of interface{}, use for go < 1.18
type any = interface{}

0 comments on commit 9fcffad

Please sign in to comment.