Skip to content

Commit

Permalink
Update strings.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelCurrin authored Jul 29, 2024
1 parent f48de70 commit b72b97b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cheatsheets/go/code/strings.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Use the compare function to get `-1`, `0`, or `1` as result.
result := strings.Compare("dog", "cat")
```

Case-insensitive comparsion.
Case-insensitive comparison.

```go
strings.EqualFold("Hello", "hello")
Expand Down

0 comments on commit b72b97b

Please sign in to comment.