func unicode/utf8.RuneCount
8 uses
unicode/utf8 (current package)
utf8.go#L414: func RuneCount(p []byte) int {
bytes
bytes.go#L60: return utf8.RuneCount(s) + 1
bytes.go#L1156: t := make([]rune, utf8.RuneCount(s))
fmt
format.go#L98: width := f.wid - utf8.RuneCount(b)
github.com/google/go-cmp/cmp
report_text.go#L251: func(r textRecord) int { return utf8.RuneCount(r.Value.(textLine)) },
google.golang.org/protobuf/internal/encoding/json
decode.go#L231: column = utf8.RuneCount(b) + 1 // ignore multi-rune characters
google.golang.org/protobuf/internal/encoding/text
decode.go#L618: column = utf8.RuneCount(b) + 1 // ignore multi-rune characters
text/tabwriter
tabwriter.go#L417: b.cell.width += utf8.RuneCount(b.buf[b.pos:])
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)