istio: istio.io/istio/pkg/util/strcase Index | Files

package strcase

import "istio.io/istio/pkg/util/strcase"

Index

Package Files

camelcase.go

func CamelCase Uses

func CamelCase(s string) string

CamelCase converts the string into camel case string

func CamelCaseToKebabCase Uses

func CamelCaseToKebabCase(s string) string

CamelCaseToKebabCase converts "MyName" to "my-name"

func CamelCaseWithSeparator Uses

func CamelCaseWithSeparator(n string, sep string) string

CamelCaseWithSeparator splits the given string by the separator, converts the parts to CamelCase and then re-joins them.

Package strcase imports 2 packages (graph) and is imported by 6 packages. Updated 2020-10-15. Refresh now. Tools for package owners.