Source File
kind_string.go
Belonging Package
golang.org/x/text/width
// Code generated by "stringer -type=Kind"; DO NOT EDIT.
package width
import
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var [1]struct{}
_ = [Neutral-0]
_ = [EastAsianAmbiguous-1]
_ = [EastAsianWide-2]
_ = [EastAsianNarrow-3]
_ = [EastAsianFullwidth-4]
_ = [EastAsianHalfwidth-5]
}
const _Kind_name = "NeutralEastAsianAmbiguousEastAsianWideEastAsianNarrowEastAsianFullwidthEastAsianHalfwidth"
var _Kind_index = [...]uint8{0, 7, 25, 38, 53, 71, 89}
func ( Kind) () string {
if < 0 || >= Kind(len(_Kind_index)-1) {
return "Kind(" + strconv.FormatInt(int64(), 10) + ")"
}
return _Kind_name[_Kind_index[]:_Kind_index[+1]]
}
![]() |
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |