Pin new dependency: github.com/google/cel-go v0.9.0
This commit is contained in:
14
vendor/github.com/stoewer/go-strcase/kebab.go
generated
vendored
Normal file
14
vendor/github.com/stoewer/go-strcase/kebab.go
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// Copyright (c) 2017, A. Stoewer <adrian.stoewer@rz.ifi.lmu.de>
|
||||
// All rights reserved.
|
||||
|
||||
package strcase
|
||||
|
||||
// KebabCase converts a string into kebab case.
|
||||
func KebabCase(s string) string {
|
||||
return delimiterCase(s, '-', false)
|
||||
}
|
||||
|
||||
// UpperKebabCase converts a string into kebab case with capital letters.
|
||||
func UpperKebabCase(s string) string {
|
||||
return delimiterCase(s, '-', true)
|
||||
}
|
||||
Reference in New Issue
Block a user