mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 23:37:51 +01:00
1c3278c2fa
* update revive lint to latest commit * make fmt * change import |
||
---|---|---|
.. | ||
.travis.yml | ||
go.mod | ||
go.test.sh | ||
LICENSE | ||
README.md | ||
runewidth_appengine.go | ||
runewidth_js.go | ||
runewidth_posix.go | ||
runewidth_table.go | ||
runewidth_windows.go | ||
runewidth.go |
go-runewidth
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