github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/text/width/kind_string.go (about) 1 // generated by stringer -type=Kind; DO NOT EDIT 2 3 package width 4 5 import "fmt" 6 7 const _Kind_name = "NeutralEastAsianAmbiguousEastAsianWideEastAsianNarrowEastAsianFullwidthEastAsianHalfwidth" 8 9 var _Kind_index = [...]uint8{0, 7, 25, 38, 53, 71, 89} 10 11 func (i Kind) String() string { 12 if i < 0 || i+1 >= Kind(len(_Kind_index)) { 13 return fmt.Sprintf("Kind(%d)", i) 14 } 15 return _Kind_name[_Kind_index[i]:_Kind_index[i+1]] 16 }