feat: query_parser + stringcase.
This commit is contained in:
9
stringcase/kebab_case.go
Normal file
9
stringcase/kebab_case.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package stringcase
|
||||
|
||||
func KebabCase(s string) string {
|
||||
return delimiterCase(s, '-', false)
|
||||
}
|
||||
|
||||
func UpperKebabCase(s string) string {
|
||||
return delimiterCase(s, '-', true)
|
||||
}
|
||||
Reference in New Issue
Block a user