mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-23 04:06:39 +00:00
20 lines
213 B
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
|
||
|
)
|