Documentation ¶
Index ¶
- func Contains(collection []string, value string) bool
- func Exists(fs billy.Filesystem, filepath string) (bool, error)
- func FillTemplate(src *string, data map[string]any)
- func FillTemplatesArray(src []string, data map[string]any)
- func FillTemplatesMap(src map[string]string, data map[string]any)
- func Filter(slice []string, predicate func(string) bool) []string
- func FirstNotEmpty(values ...string) string
- func IsEmpty(value string) bool
- func MatchToGlobs(patterns []string, file string) (matched bool, err error)
- func Max(values ...int) int
- func Min(values ...int) int
- func PanicInterceptor(action func(any))
- func PrintGraphics(wr io.Writer, content string, data map[string]any)
- func StringMapToInterfaceMap(src map[string]string) map[string]any
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FillTemplate ¶
func FillTemplatesArray ¶
func FirstNotEmpty ¶
func PanicInterceptor ¶
func PanicInterceptor(action func(any))
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.