Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultStringConverter = func(s string) (string, error) { return s, nil } DefaultIntConverter = func(s string) (int, error) { return strconv.Atoi(s) } DefaultBoolConverter = func(s string) (bool, error) { return strconv.ParseBool(s) } DefaultDurationConverter = func(s string) (time.Duration, error) { return time.ParseDuration(s) } )
Default converters
Functions ¶
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config represents a simple key=value configuration.
Click to show internal directories.
Click to hide internal directories.