Skip to content

Commit

Permalink
chore: fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: pavedroad <qcqs@outlook.com>
  • Loading branch information
pavedroad committed Mar 12, 2024
1 parent a0f74b0 commit 50cb4f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _examples/translations/main.go
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion util.go
Expand Up @@ -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)
Expand Down

0 comments on commit 50cb4f4

Please sign in to comment.