open-vault/vendor/github.com/mitchellh/reflectwalk/location_string.go

17 lines
447 B
Go
Raw Normal View History

2015-04-27 23:19:51 +00:00
// 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 {
2016-02-18 21:37:30 +00:00
if i+1 >= Location(len(_Location_index)) {
2015-04-27 23:19:51 +00:00
return fmt.Sprintf("Location(%d)", i)
}
return _Location_name[_Location_index[i]:_Location_index[i+1]]
}