github.com/gagliardetto/golang-go@v0.0.0-20201020153340-53909ea70814/cmd/internal/objabi/symkind_string.go (about) 1 // Code generated by "stringer -type=SymKind"; DO NOT EDIT. 2 3 package objabi 4 5 import "strconv" 6 7 const _SymKind_name = "SxxxSTEXTSRODATASNOPTRDATASDATASBSSSNOPTRBSSSTLSBSSSDWARFINFOSDWARFRANGESDWARFLOCSDWARFMISCSABIALIAS" 8 9 var _SymKind_index = [...]uint8{0, 4, 9, 16, 26, 31, 35, 44, 51, 61, 72, 81, 91, 100} 10 11 func (i SymKind) String() string { 12 if i >= SymKind(len(_SymKind_index)-1) { 13 return "SymKind(" + strconv.FormatInt(int64(i), 10) + ")" 14 } 15 return _SymKind_name[_SymKind_index[i]:_SymKind_index[i+1]] 16 }