• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/H05-Mar-2021-1311

script/H05-Mar-2021-207174

.travis.ymlH A D05-Mar-2021224 1713

LICENSEH A D05-Mar-20211.1 KiB2217

README.mdH A D05-Mar-2021788 2818

benchmark_test.goH A D05-Mar-20212.4 KiB11394

go.modH A D05-Mar-202187 63

go.sumH A D05-Mar-2021163 32

go.test.shH A D05-Mar-2021273 139

runewidth.goH A D05-Mar-20215.2 KiB259204

runewidth_appengine.goH A D05-Mar-2021138 94

runewidth_js.goH A D05-Mar-2021190 104

runewidth_posix.goH A D05-Mar-20211.4 KiB8367

runewidth_posix_test.goH A D05-Mar-20211.7 KiB9983

runewidth_table.goH A D05-Mar-202123.4 KiB440432

runewidth_test.goH A D05-Mar-20219.5 KiB394343

runewidth_windows.goH A D05-Mar-2021456 2919

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