mirror of
https://github.com/kyverno/policy-reporter.git
synced 2024-12-14 11:57:32 +00:00
78f24497fa
Policy Reporter v3 Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
12 lines
199 B
Go
12 lines
199 B
Go
package helper
|
|
|
|
import (
|
|
"golang.org/x/text/cases"
|
|
"golang.org/x/text/language"
|
|
)
|
|
|
|
var caser = cases.Title(language.English, cases.NoLower)
|
|
|
|
func Title(s string) string {
|
|
return caser.String(s)
|
|
}
|