You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 regels
450 B

  1. // Code generated by "stringer -type=Kind"; DO NOT EDIT.
  2. package width
  3. import "strconv"
  4. const _Kind_name = "NeutralEastAsianAmbiguousEastAsianWideEastAsianNarrowEastAsianFullwidthEastAsianHalfwidth"
  5. var _Kind_index = [...]uint8{0, 7, 25, 38, 53, 71, 89}
  6. func (i Kind) String() string {
  7. if i < 0 || i >= Kind(len(_Kind_index)-1) {
  8. return "Kind(" + strconv.FormatInt(int64(i), 10) + ")"
  9. }
  10. return _Kind_name[_Kind_index[i]:_Kind_index[i+1]]
  11. }