Платформа ЦРНП "Мирокод" для разработки проектов
https://git.mirocod.ru
28 lines
788 B
28 lines
788 B
5 years ago
|
go-runewidth
|
||
|
============
|
||
|
|
||
|
[](https://travis-ci.org/mattn/go-runewidth)
|
||
5 years ago
|
[](https://codecov.io/gh/mattn/go-runewidth)
|
||
5 years ago
|
[](http://godoc.org/github.com/mattn/go-runewidth)
|
||
|
[](https://goreportcard.com/report/github.com/mattn/go-runewidth)
|
||
|
|
||
|
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
|