chore: rune
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
parent
ca69dab3c0
commit
49901ef20d
|
@ -88,7 +88,7 @@ func (cl ContributorList) Swap(i, j int) {
|
|||
cl[i], cl[j] = cl[j], cl[i]
|
||||
}
|
||||
|
||||
// CleanTitle returns the string with spaces trimmed and the first character title-cased
|
||||
// CleanTitle returns the string with spaces trimmed and the first rune title-cased
|
||||
func CleanTitle(s string) string {
|
||||
|
||||
s = strings.TrimSpace(s)
|
||||
|
|
Loading…
Reference in New Issue