func unicode/utf8.RuneCountInString

16 uses

	unicode/utf8 (current package)
		utf8.go#L411: func RuneCountInString(s string) (n int) {

	fmt
		format.go#L113: 	width := f.wid - utf8.RuneCountInString(s)

	github.com/go-git/go-git/v5
		blame.go#L292: 		m = max(m, utf8.RuneCountInString(prettyPrintAuthor(fVs[ln])))

	github.com/google/go-cmp/cmp
		report_text.go#L244: 		func(r textRecord) int { return utf8.RuneCountInString(r.Key) },

	github.com/jmespath/go-jmespath
		functions.go#L412: 		return float64(utf8.RuneCountInString(c)), nil

	github.com/sergi/go-diff/diffmatchpatch
		diff.go#L1239: 			insertions += utf8.RuneCountInString(aDiff.Text)
		diff.go#L1241: 			deletions += utf8.RuneCountInString(aDiff.Text)
		diff.go#L1267: 			_, _ = text.WriteString(strconv.Itoa(utf8.RuneCountInString(aDiff.Text)))
		diff.go#L1272: 			_, _ = text.WriteString(strconv.Itoa(utf8.RuneCountInString(aDiff.Text)))
		diff.go#L1280: 		delta = delta[0 : utf8.RuneCountInString(delta)-1]

	go/build
		read.go#L482: 		pos.Column += utf8.RuneCountInString(args[:n])

	go/doc
		comment.go#L484: 		w := utf8.RuneCountInString(f)

	go/printer
		nodes.go#L409: 		size += utf8.RuneCountInString(x.Name)

	golang.org/x/mod/modfile
		read.go#L34: 	p.LineRune += utf8.RuneCountInString(s)

	strings
		strings.go#L20: 	l := utf8.RuneCountInString(s)
		strings.go#L44: 		return utf8.RuneCountInString(s) + 1