Documentation
¶
Index ¶
- func RemoveFmtUnderscore(in string) (out string)
- func RemoveJsoncComments(data []byte) []byte
- func ValueOrDefault(try, default_ string) string
- func VariableReplace(s, delimiterLeft, delimiterRight string, dict map[string]string) string
- func VariableReplaceFunc(s, delimiterLeft, delimiterRight string, dictFunc func(string) *string) *string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveFmtUnderscore ¶
RemoveFmtUnderscore remove underscore in format placeholder {abc_def_} => {abcdef}
func RemoveJsoncComments ¶
RemoveJsoncComments remove json comments
func ValueOrDefault ¶
ValueOrDefault returns the value if it is not empty, otherwise the default value
func VariableReplace ¶
VariableReplace Replace vairable placeholder like $(a.b.c) to value using map
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.