github.com/zorawar87/trillian@v1.2.1/quota/group_string.go (about) 1 // Code generated by "stringer -type=Group quota.go"; DO NOT EDIT. 2 3 package quota 4 5 import "strconv" 6 7 const _Group_name = "GlobalTreeUser" 8 9 var _Group_index = [...]uint8{0, 6, 10, 14} 10 11 func (i Group) String() string { 12 if i < 0 || i >= Group(len(_Group_index)-1) { 13 return "Group(" + strconv.FormatInt(int64(i), 10) + ")" 14 } 15 return _Group_name[_Group_index[i]:_Group_index[i+1]] 16 }