diff --git a/collate/maketables.go b/collate/maketables.go index 4175143e..d1fb439a 100644 --- a/collate/maketables.go +++ b/collate/maketables.go @@ -286,7 +286,7 @@ var tagRe = regexp.MustCompile(`<([a-z_]*) */>`) var mainLocales = []string{} -// charsets holds a list of exemplar characters per category. +// charSets holds a list of exemplar characters per category. type charSets map[string][]string func (p charSets) fprint(w io.Writer) { diff --git a/internal/cldrtree/option.go b/internal/cldrtree/option.go index 33b6103b..ca0d4476 100644 --- a/internal/cldrtree/option.go +++ b/internal/cldrtree/option.go @@ -36,7 +36,7 @@ func (o *options) setAlias(n Element) { } } -// Enum defines a enumeration type. The resulting option may be passed for the +// Enum defines an enumeration type. The resulting option may be passed for the // construction of multiple Indexes, which they will share the same enum values. // Calling Gen on a Builder will generate the Enum for the given name. The // optional values fix the values for the given identifier to the argument diff --git a/language/httpexample_test.go b/language/httpexample_test.go index 03c0ab9c..b12a585e 100644 --- a/language/httpexample_test.go +++ b/language/httpexample_test.go @@ -19,7 +19,7 @@ var matcher = language.NewMatcher([]language.Tag{ language.German, }) -// handler is a http.HandlerFunc. +// handler is an http.HandlerFunc. func handler(w http.ResponseWriter, r *http.Request) { t, q, err := language.ParseAcceptLanguage(r.Header.Get("Accept-Language")) // We ignore the error: the default language will be selected for t == nil.