2015-06-24 15:40:18 +00:00
|
|
|
go-runewidth
|
|
|
|
============
|
|
|
|
|
|
|
|
[](https://travis-ci.org/mattn/go-runewidth)
|
|
|
|
[](https://coveralls.io/r/mattn/go-runewidth?branch=HEAD)
|
2016-10-28 17:05:01 +00:00
|
|
|
[](http://godoc.org/github.com/mattn/go-runewidth)
|
|
|
|
[](https://goreportcard.com/report/github.com/mattn/go-runewidth)
|
2015-06-24 15:40:18 +00:00
|
|
|
|
|
|
|
Provides functions to get fixed width of the character or string.
|
|
|
|
|
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
|
|
|
|
```go
|
|
|
|
runewidth.StringWidth("つのだ☆HIRO") == 12
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Author
|
|
|
|
------
|
|
|
|
|
|
|
|
Yasuhiro Matsumoto
|
|
|
|
|
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
|
|
|
under the MIT License: http://mattn.mit-license.org/2013
|