Documentation
¶
Overview ¶
Package options AFAIRE.
Index ¶
- Variables
- type Options
- func (o Options) Boolean(name string) (bool, error)
- func (o Options) DBoolean(d bool, name string) (bool, error)
- func (o Options) DDuration(d time.Duration, name string) (time.Duration, error)
- func (o Options) DInteger(d int, name string) (int, error)
- func (o Options) DString(d, name string) (string, error)
- func (o Options) Duration(name string) (time.Duration, error)
- func (o Options) Get(name string) (interface{}, error)
- func (o Options) Integer(name string) (int, error)
- func (o Options) String(name string) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrBadType AFAIRE. ErrBadType = errors.New("bad type") // ErrNotFound AFAIRE. ErrNotFound = errors.New("not found") )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.