summaryrefslogtreecommitdiff
path: root/vendor/github.com/mitchellh/reflectwalk/location_string.go
blob: d3cfe85459b2d51c6213540a74e339e7be53912b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// generated by stringer -type=Location location.go; DO NOT EDIT

package reflectwalk

import "fmt"

const _Location_name = "NoneMapMapKeyMapValueSliceSliceElemStructStructFieldWalkLoc"

var _Location_index = [...]uint8{0, 4, 7, 13, 21, 26, 35, 41, 52, 59}

func (i Location) String() string {
	if i+1 >= Location(len(_Location_index)) {
		return fmt.Sprintf("Location(%d)", i)
	}
	return _Location_name[_Location_index[i]:_Location_index[i+1]]
}