...

Source file src/github.com/mitchellh/reflectwalk/location_string.go

Documentation: github.com/mitchellh/reflectwalk

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

View as plain text