mirror of https://github.com/hashicorp/consul
18 lines
195 B
Go
18 lines
195 B
Go
|
package reflectwalk
|
||
|
|
||
|
//go:generate stringer -type=Location location.go
|
||
|
|
||
|
type Location uint
|
||
|
|
||
|
const (
|
||
|
None Location = iota
|
||
|
Map
|
||
|
MapKey
|
||
|
MapValue
|
||
|
Slice
|
||
|
SliceElem
|
||
|
Struct
|
||
|
StructField
|
||
|
WalkLoc
|
||
|
)
|