Skip to content

Commit 9fcffad

Browse files
committed
test: add any define for test on go < 1.18
1 parent c38278e commit 9fcffad

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

any_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
//go:build !go1.18
2+
// +build !go1.18
3+
4+
package properties_test
5+
6+
// alias of interface{}, use for go < 1.18
7+
type any = interface{}

0 commit comments

Comments
 (0)