Skip to content

Commit

Permalink
Typo fix in go doc comment (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldemailly authored Jun 15, 2024
1 parent 317b00d commit 7976fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion env.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func CamelCaseToUpperSnakeCase(s string) string {
}

// CamelCaseToLowerSnakeCase converts a string from camelCase or CamelCase
// to lowe_snake_case. Handles cases like HTTPServer -> http_server.
// to lower_snake_case. Handles cases like HTTPServer -> http_server.
// Good for JSON tags for instance.
func CamelCaseToLowerSnakeCase(s string) string {
if s == "" {
Expand Down

0 comments on commit 7976fe1

Please sign in to comment.