Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Normalize ¶
Normalize returns a copy of the string s with the first word mapped to its title case. It uses language.Und for word boundaries. For a more general solution, see NormalizeWithLanguage.
func NormalizeWithLanguage ¶
NormalizeWithLanguage returns a copy of the string s with the first word mapped to its title case. If lang is not nil, it is used to determine the language for which the case transformation should be performed. If lang is nil, language.Und is used.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.