Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/ | H | 03-Dec-2019 | - | 13 | 11 | |
script/ | H | 03-Dec-2019 | - | 196 | 168 | |
.travis.yml | H A D | 03-Dec-2019 | 205 | 9 | 8 | |
LICENSE | H A D | 03-Dec-2019 | 1.1 KiB | 22 | 17 | |
README.mkd | H A D | 03-Dec-2019 | 806 | 28 | 18 | |
benchmark_test.go | H A D | 03-Dec-2019 | 932 | 46 | 41 | |
go.mod | H A D | 03-Dec-2019 | 45 | 4 | 2 | |
runewidth.go | H A D | 03-Dec-2019 | 5.2 KiB | 259 | 200 | |
runewidth_appengine.go | H A D | 03-Dec-2019 | 138 | 9 | 4 | |
runewidth_js.go | H A D | 03-Dec-2019 | 190 | 10 | 4 | |
runewidth_posix.go | H A D | 03-Dec-2019 | 1.4 KiB | 80 | 64 | |
runewidth_posix_test.go | H A D | 03-Dec-2019 | 1.5 KiB | 81 | 66 | |
runewidth_table.go | H A D | 03-Dec-2019 | 22.9 KiB | 428 | 422 | |
runewidth_test.go | H A D | 03-Dec-2019 | 9.8 KiB | 419 | 365 | |
runewidth_windows.go | H A D | 03-Dec-2019 | 456 | 29 | 19 |
README.mkd
1go-runewidth 2============ 3 4[![Build Status](https://travis-ci.org/mattn/go-runewidth.png?branch=master)](https://travis-ci.org/mattn/go-runewidth) 5[![Coverage Status](https://coveralls.io/repos/mattn/go-runewidth/badge.png?branch=HEAD)](https://coveralls.io/r/mattn/go-runewidth?branch=HEAD) 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 9Provides functions to get fixed width of the character or string. 10 11Usage 12----- 13 14```go 15runewidth.StringWidth("つのだ☆HIRO") == 12 16``` 17 18 19Author 20------ 21 22Yasuhiro Matsumoto 23 24License 25------- 26 27under the MIT License: http://mattn.mit-license.org/2013 28