consul/vendor/github.com/mitchellh/reflectwalk/location.go

20 lines
213 B
Go
Raw Normal View History

package reflectwalk
//go:generate stringer -type=Location location.go
type Location uint
const (
None Location = iota
Map
MapKey
MapValue
Slice
SliceElem
2018-06-21 14:49:35 +00:00
Array
ArrayElem
Struct
StructField
WalkLoc
)