github.com/kdevb0x/go@v0.0.0-20180115030120-39687051e9e7/src/cmd/internal/objabi/symkind_string.go (about) 1 // Code generated by "stringer -type=SymKind"; DO NOT EDIT. 2 3 package objabi 4 5 import "fmt" 6 7 const _SymKind_name = "SxxxSTEXTSRODATASNOPTRDATASDATASBSSSNOPTRBSSSTLSBSSSDWARFINFOSDWARFRANGESDWARFLOC" 8 9 var _SymKind_index = [...]uint8{0, 4, 9, 16, 26, 31, 35, 44, 51, 61, 72, 81} 10 11 func (i SymKind) String() string { 12 if i >= SymKind(len(_SymKind_index)-1) { 13 return fmt.Sprintf("SymKind(%d)", i) 14 } 15 return _SymKind_name[_SymKind_index[i]:_SymKind_index[i+1]] 16 }