package util import "unicode/utf8" // StrLen utf8 string length func StrLen(s string) int { return utf8.RuneCountInString(s) }