diff options
author | Phil Davis <phil@jankaritech.com> | 2020-12-16 14:11:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-16 14:11:32 +0300 |
commit | 04b89857e104ac7dcbf9fc65d8d4f1a1178123e6 (patch) | |
tree | 585bf761f0a1cfc69dffcd8afd22e94ca9da7c07 /tpl/strings | |
parent | 21fa1e86f2aa929fb0983a0cc3dc4e271ea1cc54 (diff) |
all: Fix minor typos
Diffstat (limited to 'tpl/strings')
-rw-r--r-- | tpl/strings/strings.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/strings/strings.go b/tpl/strings/strings.go index 60cb658ba..178d17bc0 100644 --- a/tpl/strings/strings.go +++ b/tpl/strings/strings.go @@ -43,7 +43,7 @@ type Namespace struct { deps *deps.Deps } -// CountRunes returns the number of runes in s, excluding whitepace. +// CountRunes returns the number of runes in s, excluding whitespace. func (ns *Namespace) CountRunes(s interface{}) (int, error) { ss, err := cast.ToStringE(s) if err != nil { |