Documentation ¶
Index ¶
- func ArrayContains(s []string, e string) bool
- func FileExists(name string) bool
- func FolderExists(name string) bool
- func ListInterfaceValueByTag(f interface{}, tagKey string) []interface{}
- func ListStringValueByTag(f interface{}, tagKey string) []string
- func ListTagByKey(f interface{}, tagKey string) []string
- func ReplaceEnv(s string) string
- func VarMatch(pattern string, input string) (map[string]Var, bool)
- func WildMatch(pattern string, input string) bool
- type Var
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayContains ¶
func FileExists ¶
func FolderExists ¶
func ListInterfaceValueByTag ¶
func ListInterfaceValueByTag(f interface{}, tagKey string) []interface{}
Parse struct value of pointer of an interface Example: ListTag(&structVariable, "csv")
func ListStringValueByTag ¶
Parse struct value of pointer of an interface Example: ListTag(&structVariable, "csv")
func ListTagByKey ¶
Get List Tag of pointer of an struct Example: ListTag(&structVariable, "csv")
func ReplaceEnv ¶
Replace ${VAR|default} by environment variable VAR or using "default" value if VAR is not set.
Types ¶
Click to show internal directories.
Click to hide internal directories.