Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/ | H | 24-May-2021 | - | 13 | 11 | |
script/ | H | 24-May-2021 | - | 207 | 174 | |
.travis.yml | H A D | 24-May-2021 | 224 | 17 | 13 | |
LICENSE | H A D | 24-May-2021 | 1.1 KiB | 22 | 17 | |
README.md | H A D | 24-May-2021 | 788 | 28 | 18 | |
benchmark_test.go | H A D | 24-May-2021 | 2.7 KiB | 118 | 100 | |
go.mod | H A D | 24-May-2021 | 84 | 6 | 3 | |
go.sum | H A D | 24-May-2021 | 163 | 3 | 2 | |
go.test.sh | H A D | 24-May-2021 | 273 | 13 | 9 | |
runewidth.go | H A D | 24-May-2021 | 5.6 KiB | 274 | 216 | |
runewidth_appengine.go | H A D | 24-May-2021 | 138 | 9 | 4 | |
runewidth_js.go | H A D | 24-May-2021 | 190 | 10 | 4 | |
runewidth_posix.go | H A D | 24-May-2021 | 1.4 KiB | 83 | 67 | |
runewidth_posix_test.go | H A D | 24-May-2021 | 1.7 KiB | 99 | 83 | |
runewidth_table.go | H A D | 24-May-2021 | 23.4 KiB | 440 | 432 | |
runewidth_test.go | H A D | 24-May-2021 | 10.6 KiB | 427 | 374 | |
runewidth_windows.go | H A D | 24-May-2021 | 456 | 29 | 19 |
README.md
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[![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 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