location_string.go 477 B

12345678910111213141516
  1. // Code generated by "stringer -type=Location location.go"; DO NOT EDIT.
  2. package reflectwalk
  3. import "fmt"
  4. const _Location_name = "NoneMapMapKeyMapValueSliceSliceElemArrayArrayElemStructStructFieldWalkLoc"
  5. var _Location_index = [...]uint8{0, 4, 7, 13, 21, 26, 35, 40, 49, 55, 66, 73}
  6. func (i Location) String() string {
  7. if i >= Location(len(_Location_index)-1) {
  8. return fmt.Sprintf("Location(%d)", i)
  9. }
  10. return _Location_name[_Location_index[i]:_Location_index[i+1]]
  11. }