~pedronis/snappy-hub/assert-fetcher

« back to all changes in this revision

Viewing changes to vendor/github.com/mattn/go-runewidth/README.mkd

  • Committer: Samuele Pedroni (Canonical Services Ltd.)
  • Date: 2017-02-10 19:13:46 UTC
  • Revision ID: samuele.pedroni@canonical.com-20170210191346-0vzytr5n503cce3q
initial commit aka 0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
go-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
 
 
9
Provides functions to get fixed width of the character or string.
 
10
 
 
11
Usage
 
12
-----
 
13
 
 
14
```go
 
15
runewidth.StringWidth("つのだ☆HIRO") == 12
 
16
```
 
17
 
 
18
 
 
19
Author
 
20
------
 
21
 
 
22
Yasuhiro Matsumoto
 
23
 
 
24
License
 
25
-------
 
26
 
 
27
under the MIT License: http://mattn.mit-license.org/2013