diff options
Diffstat (limited to 'vendor/github.com/mitchellh/reflectwalk/location.go')
-rw-r--r-- | vendor/github.com/mitchellh/reflectwalk/location.go | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/vendor/github.com/mitchellh/reflectwalk/location.go b/vendor/github.com/mitchellh/reflectwalk/location.go new file mode 100644 index 000000000..6a7f17611 --- /dev/null +++ b/vendor/github.com/mitchellh/reflectwalk/location.go @@ -0,0 +1,19 @@ +package reflectwalk + +//go:generate stringer -type=Location location.go + +type Location uint + +const ( + None Location = iota + Map + MapKey + MapValue + Slice + SliceElem + Array + ArrayElem + Struct + StructField + WalkLoc +) |