Documentation
¶
Index ¶
- func Exists(name string) bool
- func ExistsIsDir(name string) bool
- func PrefixOptionReadConfdig(prefix *string, filename string, lCfg interface{}) (err error)
- func PrintErrorJson(js string, err error) (rv string)
- func ProcessENV(curVal, sfldName string) string
- func ProcessHome(fn string) (outFn string)
- func ReadAndRemoveComents(fn string) (buf []byte, err error)
- func ReadFile(filename string, lCfg interface{}) (err error)
- func SetFromEnv(s interface{}) (err error)
- func SetFromEnv2(typ reflect.Type, val reflect.Value) (err error)
- func StripPrefix(prefix, key string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExistsIsDir ¶
ExistsIsDir returns true if a direcotry exists.
func PrefixOptionReadConfdig ¶
func PrintErrorJson ¶
func ProcessENV ¶
func ProcessHome ¶
func ReadAndRemoveComents ¶ added in v1.0.10
Will not work, has to parse JSON and look for strings, '.*', ".*" and process escapes, then look for comments.
func SetFromEnv ¶
func SetFromEnv(s interface{}) (err error)
func StripPrefix ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.