kops/vendor/github.com/mattn/go-runewidth
Barry Melbourne e30bf1cf35 Update Go modules to latest versions 2021-03-14 15:08:27 +00:00
..
.travis.yml Update Go modules to latest versions 2021-03-14 15:08:27 +00:00
BUILD.bazel Update Go modules to latest versions 2021-03-14 15:08:27 +00:00
LICENSE Update Go modules to latest versions 2021-03-14 15:08:27 +00:00
README.mkd Update Go modules to latest versions 2021-03-14 15:08:27 +00:00
go.mod Update Go modules to latest versions 2021-03-14 15:08:27 +00:00
runewidth.go Update Go modules to latest versions 2021-03-14 15:08:27 +00:00
runewidth_appengine.go Update Go modules to latest versions 2021-03-14 15:08:27 +00:00
runewidth_js.go Update Go modules to latest versions 2021-03-14 15:08:27 +00:00
runewidth_posix.go Update Go modules to latest versions 2021-03-14 15:08:27 +00:00
runewidth_table.go Update Go modules to latest versions 2021-03-14 15:08:27 +00:00
runewidth_windows.go Update Go modules to latest versions 2021-03-14 15:08:27 +00:00

README.mkd

go-runewidth

Build Status Coverage Status GoDoc Go Report Card

Provides functions to get fixed width of the character or string.

Usage

runewidth.StringWidth("つのだ☆HIRO") == 12

Author

Yasuhiro Matsumoto

License

under the MIT License: http://mattn.mit-license.org/2013