api/vendor/github.com/mattn/go-runewidth
2019-03-29 17:54:35 +00:00
..
.travis.yml DB Migrations (#67) 2019-03-29 17:54:35 +00:00
LICENSE DB Migrations (#67) 2019-03-29 17:54:35 +00:00
README.mkd DB Migrations (#67) 2019-03-29 17:54:35 +00:00
runewidth_appengine.go DB Migrations (#67) 2019-03-29 17:54:35 +00:00
runewidth_js.go DB Migrations (#67) 2019-03-29 17:54:35 +00:00
runewidth_posix.go DB Migrations (#67) 2019-03-29 17:54:35 +00:00
runewidth_windows.go DB Migrations (#67) 2019-03-29 17:54:35 +00:00
runewidth.go DB Migrations (#67) 2019-03-29 17:54:35 +00:00

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