| 1 |
go-runewidth |
| 2 |
============ |
| 3 |
|
| 4 |
[](https://github.com/mattn/go-runewidth/actions?query=workflow%3Atest) |
| 5 |
[](https://codecov.io/gh/mattn/go-runewidth) |
| 6 |
[](http://godoc.org/github.com/mattn/go-runewidth) |
| 7 |
[](https://goreportcard.com/report/github.com/mattn/go-runewidth) |
| 8 |
|
| 9 |
Provides functions to get fixed width of the character or string. |
| 10 |
|
| 11 |
Usage |
| 12 |
----- |
| 13 |
|
| 14 |
```go |
| 15 |
runewidth.StringWidth("つのだ☆HIRO") == 12 |
| 16 |
``` |
| 17 |
|
| 18 |
|
| 19 |
Author |
| 20 |
------ |
| 21 |
|
| 22 |
Yasuhiro Matsumoto |
| 23 |
|
| 24 |
License |
| 25 |
------- |
| 26 |
|
| 27 |
under the MIT License: http://mattn.mit-license.org/2013 |