Documentation
¶
Index ¶
- func ConvertFlagToKeyValue(values []string) map[string]interface{}
- func Extension(filename string) string
- func GetDirectory(filename string) string
- func GetFileName(filename string) string
- func GetFuncMap() template.FuncMap
- func IncludeFile(filename string) string
- func MergeMaps(maps ...map[string]any) map[string]any
- func ReadFilesDir(path string) []string
- func SumFunc(c, i int) int
- func ToArrayString(input string, character ...string) []string
- func ToBool(t any, valueTrue ...any) bool
- func ToCamelCase(t string) string
- func ToJSON(data any) any
- func ToKebabCaseLower(t string) string
- func ToKebabCaseUpper(t string) string
- func ToPascalCase(t string) string
- func ToSnakeCaseLower(t string) string
- func ToSnakeCaseUpper(t string) string
- func ToYAML(data any) any
- func WithoutExtension(filename string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertFlagToKeyValue ¶
ConvertFlagToKeyValue function convert the key=value list into an interface maps format.
func GetDirectory ¶
func GetFileName ¶
func GetFuncMap ¶
Funcs internals and Sprig Reference: https://masterminds.github.io/sprig/
func IncludeFile ¶
IncludeFile - <filename> the file path is relative to the gomodeler CLI
func ReadFilesDir ¶
func ToArrayString ¶
func ToCamelCase ¶
func ToKebabCaseUpper ¶
ToKebabCaseUpper Screaming kebab case
func ToPascalCase ¶
func ToSnakeCaseLower ¶
func ToSnakeCaseUpper ¶
func WithoutExtension ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.