woodpecker/vendor/github.com/mattn/go-runewidth
Lukas c28f7cb29f
Add golangci-lint (#502)
Initial part of #435
2021-11-14 21:01:54 +01:00
..
.travis.yml Add golangci-lint (#502) 2021-11-14 21:01:54 +01:00
go.mod Add golangci-lint (#502) 2021-11-14 21:01:54 +01:00
go.test.sh Add golangci-lint (#502) 2021-11-14 21:01:54 +01:00
LICENSE Add golangci-lint (#502) 2021-11-14 21:01:54 +01:00
README.md Add golangci-lint (#502) 2021-11-14 21:01:54 +01:00
runewidth.go Add golangci-lint (#502) 2021-11-14 21:01:54 +01:00
runewidth_appengine.go Add golangci-lint (#502) 2021-11-14 21:01:54 +01:00
runewidth_js.go Add golangci-lint (#502) 2021-11-14 21:01:54 +01:00
runewidth_posix.go Add golangci-lint (#502) 2021-11-14 21:01:54 +01:00
runewidth_table.go Add golangci-lint (#502) 2021-11-14 21:01:54 +01:00
runewidth_windows.go Add golangci-lint (#502) 2021-11-14 21:01:54 +01:00

go-runewidth

Build Status Codecov GoDoc Go Report Card

Provides functions to get fixed width of the character or string.

Usage

runewidth.StringWidth("つのだ☆HIRO") == 12

Author

Yasuhiro Matsumoto

License

under the MIT License: http://mattn.mit-license.org/2013