Rainbond/vendor/github.com/mattn/go-runewidth
2017-11-17 15:03:19 +08:00
..
.travis.yml [REV] update build response,add vendor,optimize build/publish db update 2017-11-17 15:03:19 +08:00
LICENSE [REV] update build response,add vendor,optimize build/publish db update 2017-11-17 15:03:19 +08:00
README.mkd [REV] update build response,add vendor,optimize build/publish db update 2017-11-17 15:03:19 +08:00
runewidth_js.go [REV] update build response,add vendor,optimize build/publish db update 2017-11-17 15:03:19 +08:00
runewidth_posix.go [REV] update build response,add vendor,optimize build/publish db update 2017-11-17 15:03:19 +08:00
runewidth_test.go [REV] update build response,add vendor,optimize build/publish db update 2017-11-17 15:03:19 +08:00
runewidth_windows.go [REV] update build response,add vendor,optimize build/publish db update 2017-11-17 15:03:19 +08:00
runewidth.go [REV] update build response,add vendor,optimize build/publish db update 2017-11-17 15:03:19 +08: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