Documentation
¶
Index ¶
- func CheckYaml(filename string) bool
- func Find(s string, keyword string) int
- func FindFirstTemplate(s string) (template string, exists bool, end int)
- func MergeStringMap(dst *map[string]any, src map[string]any, lang string) (err error)
- func ParsePath(path string) (paths []string, err error)
- func ParseTemplates(s string, replaceFunc func(template string) string) string
- func WalkStringMap(stringMap map[string]any, walkFun func(value any, path []string), ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindFirstTemplate ¶
FindFirstTemplate find first template like ${xx}
func MergeStringMap ¶
MergeStringMap deep merge map[string]any
func ParseTemplates ¶
ParseTemplates parse all templates like ${xx} and replace it by replaceFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.