summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/modern-go/reflect2/go_below_17.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/modern-go/reflect2/go_below_17.go')
-rw-r--r--vendor/github.com/modern-go/reflect2/go_below_17.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/github.com/modern-go/reflect2/go_below_17.go b/vendor/github.com/modern-go/reflect2/go_below_17.go
new file mode 100644
index 00000000..65a93c88
--- /dev/null
+++ b/vendor/github.com/modern-go/reflect2/go_below_17.go
@@ -0,0 +1,9 @@
+//+build !go1.7
+
+package reflect2
+
+import "unsafe"
+
+func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer {
+ return nil
+}