go-common/vendor/github.com/mattn/go-runewidth
2019-04-22 18:49:16 +08:00
..
BUILD.bazel Create & Init Project... 2019-04-22 18:49:16 +08:00
LICENSE Create & Init Project... 2019-04-22 18:49:16 +08:00
README.mkd Create & Init Project... 2019-04-22 18:49:16 +08:00
runewidth_js.go Create & Init Project... 2019-04-22 18:49:16 +08:00
runewidth_posix.go Create & Init Project... 2019-04-22 18:49:16 +08:00
runewidth_windows.go Create & Init Project... 2019-04-22 18:49:16 +08:00
runewidth.go Create & Init Project... 2019-04-22 18:49:16 +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