gitee.com/quant1x/gox@v1.21.2/text/runewidth/README.md (about) 1 go-runewidth 2 ============ 3 4 [![Build Status](https://github.com/mattn/go-runewidth/workflows/test/badge.svg?branch=master)](https://github.com/mattn/go-runewidth/actions?query=workflow%3Atest) 5 [![Codecov](https://codecov.io/gh/mattn/go-runewidth/branch/master/graph/badge.svg)](https://codecov.io/gh/mattn/go-runewidth) 6 [![GoDoc](https://godoc.org/github.com/mattn/go-runewidth?status.svg)](http://godoc.org/github.com/mattn/go-runewidth) 7 [![Go Report Card](https://goreportcard.com/badge/github.com/mattn/go-runewidth)](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 Author 19 ------ 20 21 Yasuhiro Matsumoto 22 23 License 24 ------- 25 26 under the MIT License: http://mattn.mit-license.org/2013