29 lines
687 B
Go
29 lines
687 B
Go
// Code generated by "stringer -type=Status"; DO NOT EDIT.
|
|
|
|
package members
|
|
|
|
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[Plain-0]
|
|
_ = x[Creator-1]
|
|
_ = x[Admin-2]
|
|
_ = x[Banned-3]
|
|
_ = x[Left-4]
|
|
}
|
|
|
|
const _Status_name = "PlainCreatorAdminBannedLeft"
|
|
|
|
var _Status_index = [...]uint8{0, 5, 12, 17, 23, 27}
|
|
|
|
func (i Status) String() string {
|
|
idx := int(i) - 0
|
|
if i < 0 || idx >= len(_Status_index)-1 {
|
|
return "Status(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _Status_name[_Status_index[idx]:_Status_index[idx+1]]
|
|
}
|