// Code generated by "stringer -type Motivation -linecomment"; DO NOT EDIT. package replay 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[MotivationNone-0] _ = x[MotivationAwful-1] _ = x[MotivationBad-2] _ = x[MotivationNormal-3] _ = x[MotivationGood-4] _ = x[MotivationGreat-5] } const _Motivation_name = "NoneMinLowMiddleHighMax" var _Motivation_index = [...]uint8{0, 4, 7, 10, 16, 20, 23} func (i Motivation) String() string { idx := int(i) - 0 if i < 0 || idx >= len(_Motivation_index)-1 { return "Motivation(" + strconv.FormatInt(int64(i), 10) + ")" } return _Motivation_name[_Motivation_index[idx]:_Motivation_index[idx+1]] }