diff --git a/_examples/translations/main.go b/_examples/translations/main.go index 6f9466dab..5e57060bc 100644 --- a/_examples/translations/main.go +++ b/_examples/translations/main.go @@ -35,7 +35,7 @@ var ( func main() { - // NOTE: ommitting allot of error checking for brevity + // NOTE: omitting allot of error checking for brevity en := en.New() uni = ut.New(en, en) diff --git a/util.go b/util.go index 16851593d..fc8f8b13d 100644 --- a/util.go +++ b/util.go @@ -271,7 +271,7 @@ func asFloat64(param string) float64 { return i } -// asFloat64 returns the parameter as a float64 +// asFloat32 returns the parameter as a float32 // or panics if it can't convert func asFloat32(param string) float64 { i, err := strconv.ParseFloat(param, 32)