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

20 lines
213 B
Go

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
)