diff options
Diffstat (limited to 'vendor/github.com/mitchellh/reflectwalk/location.go')
-rw-r--r-- | vendor/github.com/mitchellh/reflectwalk/location.go | 17 |
1 files changed, 17 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 0000000..7c59d76 --- /dev/null +++ b/vendor/github.com/mitchellh/reflectwalk/location.go | |||
@@ -0,0 +1,17 @@ | |||
1 | package reflectwalk | ||
2 | |||
3 | //go:generate stringer -type=Location location.go | ||
4 | |||
5 | type Location uint | ||
6 | |||
7 | const ( | ||
8 | None Location = iota | ||
9 | Map | ||
10 | MapKey | ||
11 | MapValue | ||
12 | Slice | ||
13 | SliceElem | ||
14 | Struct | ||
15 | StructField | ||
16 | WalkLoc | ||
17 | ) | ||