debian-forge-composer/vendor/github.com/mattn/go-runewidth
Ondřej Budai 0359647a82 go.mod: update to Go 1.18
Fedora 35 support was dropped, so we can update to a newer Go.

Stable RHEL 8 and 9 and Fedora 36 ships Go 1.18, so let's switch to it.

"//go:build" directives are now apparently enforced by go fmt, so that's why
there were added.

Also, all the github actions were adjusted to use Go 1.18.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2023-01-09 14:03:18 +01:00
..
.travis.yml container: add support for uploading to registries 2022-06-29 10:02:46 +02:00
go.test.sh container: add support for uploading to registries 2022-06-29 10:02:46 +02:00
LICENSE container: add support for uploading to registries 2022-06-29 10:02:46 +02:00
README.md container: add support for uploading to registries 2022-06-29 10:02:46 +02:00
runewidth.go container: add support for uploading to registries 2022-06-29 10:02:46 +02:00
runewidth_appengine.go container: add support for uploading to registries 2022-06-29 10:02:46 +02:00
runewidth_js.go container: add support for uploading to registries 2022-06-29 10:02:46 +02:00
runewidth_posix.go container: add support for uploading to registries 2022-06-29 10:02:46 +02:00
runewidth_table.go container: add support for uploading to registries 2022-06-29 10:02:46 +02:00
runewidth_windows.go container: add support for uploading to registries 2022-06-29 10:02:46 +02: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