diff options
author | ale <ale@incal.net> | 2017-12-18 22:35:16 +0000 |
---|---|---|
committer | ale <ale@incal.net> | 2017-12-18 22:35:16 +0000 |
commit | 445bf898d2015d1e28e5f01ef07b26be9dd42bf1 (patch) | |
tree | 05bae03d8625be5dee79ac408cf96b6ffae97840 /vendor/golang.org/x/text/width/kind_string.go | |
parent | 394de2d98a9cfde6244620f0b188625b60f68f96 (diff) | |
download | crawl-445bf898d2015d1e28e5f01ef07b26be9dd42bf1.tar.gz crawl-445bf898d2015d1e28e5f01ef07b26be9dd42bf1.zip |
Add vendor deps
Diffstat (limited to 'vendor/golang.org/x/text/width/kind_string.go')
-rw-r--r-- | vendor/golang.org/x/text/width/kind_string.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/golang.org/x/text/width/kind_string.go b/vendor/golang.org/x/text/width/kind_string.go new file mode 100644 index 0000000..49bfbf7 --- /dev/null +++ b/vendor/golang.org/x/text/width/kind_string.go @@ -0,0 +1,16 @@ +// Code generated by "stringer -type=Kind"; DO NOT EDIT. + +package width + +import "fmt" + +const _Kind_name = "NeutralEastAsianAmbiguousEastAsianWideEastAsianNarrowEastAsianFullwidthEastAsianHalfwidth" + +var _Kind_index = [...]uint8{0, 7, 25, 38, 53, 71, 89} + +func (i Kind) String() string { + if i < 0 || i >= Kind(len(_Kind_index)-1) { + return fmt.Sprintf("Kind(%d)", i) + } + return _Kind_name[_Kind_index[i]:_Kind_index[i+1]] +} |