diff options
Diffstat (limited to 'vendor/github.com/modern-go/reflect2/go_above_17.go')
-rw-r--r-- | vendor/github.com/modern-go/reflect2/go_above_17.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/github.com/modern-go/reflect2/go_above_17.go b/vendor/github.com/modern-go/reflect2/go_above_17.go new file mode 100644 index 00000000..5c1cea86 --- /dev/null +++ b/vendor/github.com/modern-go/reflect2/go_above_17.go @@ -0,0 +1,8 @@ +//+build go1.7 + +package reflect2 + +import "unsafe" + +//go:linkname resolveTypeOff reflect.resolveTypeOff +func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer |