// Code generated by "stringer -type SupportCardSpecialty -trimprefix SupportCard"; DO NOT EDIT. package horse 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[SupportCardNone-0] _ = x[SupportCardSpeed-101] _ = x[SupportCardPower-102] _ = x[SupportCardGuts-103] _ = x[SupportCardStamina-105] _ = x[SupportCardWit-106] } const ( _SupportCardSpecialty_name_0 = "None" _SupportCardSpecialty_name_1 = "SpeedPowerGuts" _SupportCardSpecialty_name_2 = "StaminaWit" ) var ( _SupportCardSpecialty_index_1 = [...]uint8{0, 5, 10, 14} _SupportCardSpecialty_index_2 = [...]uint8{0, 7, 10} ) func (i SupportCardSpecialty) String() string { switch { case i == 0: return _SupportCardSpecialty_name_0 case 101 <= i && i <= 103: i -= 101 return _SupportCardSpecialty_name_1[_SupportCardSpecialty_index_1[i]:_SupportCardSpecialty_index_1[i+1]] case 105 <= i && i <= 106: i -= 105 return _SupportCardSpecialty_name_2[_SupportCardSpecialty_index_2[i]:_SupportCardSpecialty_index_2[i+1]] default: return "SupportCardSpecialty(" + strconv.FormatInt(int64(i), 10) + ")" } }