1 // Code generated by "stringer -type Dir"; DO NOT EDIT.
8 // An "invalid array index" compiler error signifies that the constant values have changed.
9 // Re-run the stringer command to generate them again.
20 const _Dir_name = "EastAboveNorthSouthBelowWestNoDir"
22 var _Dir_index = [...]uint8{0, 4, 9, 14, 19, 24, 28, 33}
24 func (i Dir) String() string {
25 if i >= Dir(len(_Dir_index)-1) {
26 return "Dir(" + strconv.FormatInt(int64(i), 10) + ")"
28 return _Dir_name[_Dir_index[i]:_Dir_index[i+1]]