dnscontrol/pkg/providers/supportlevel_string.go
2025-12-22 18:48:36 -05:00

27 lines
830 B
Go

// Code generated by "stringer -type SupportLevel -trimprefix SupportLevel"; DO NOT EDIT.
package providers
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[SupportLevelDeprecated-0]
_ = x[SupportLevelNeedsVolunteer-1]
_ = x[SupportLevelCommunity-2]
_ = x[SupportLevelOfficial-3]
}
const _SupportLevel_name = "DeprecatedNeedsVolunteerCommunityOfficial"
var _SupportLevel_index = [...]uint8{0, 10, 24, 33, 41}
func (i SupportLevel) String() string {
idx := int(i) - 0
if i < 0 || idx >= len(_SupportLevel_index)-1 {
return "SupportLevel(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _SupportLevel_name[_SupportLevel_index[idx]:_SupportLevel_index[idx+1]]
}