// Code generated by "stringer -type=RoutingTable -linecomment"; DO NOT EDIT. package nethelpers import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[TableUnspec-0] _ = x[TableDefault-253] _ = x[TableMain-254] _ = x[TableLocal-255] } const ( _RoutingTable_name_0 = "unspec" _RoutingTable_name_1 = "defaultmainlocal" ) var _RoutingTable_index_1 = [...]uint8{0, 7, 11, 16} func (i RoutingTable) String() string { switch { case i == 0: return _RoutingTable_name_0 case 253 <= i && i <= 255: i -= 253 return _RoutingTable_name_1[_RoutingTable_index_1[i]:_RoutingTable_index_1[i+1]] default: return "RoutingTable(" + strconv.FormatInt(int64(i), 10) + ")" } }