Documentation
¶
Overview ¶
Package dataptr AFAIRE.
Index ¶
- Variables
- type DataPtr
- func (dp *DataPtr) Bool(keys ...string) (bool, error)
- func (dp *DataPtr) DBool(d bool, keys ...string) (bool, error)
- func (dp *DataPtr) DDuration(d time.Duration, keys ...string) (time.Duration, error)
- func (dp *DataPtr) DInt(d int, keys ...string) (int, error)
- func (dp *DataPtr) DString(d string, keys ...string) (string, error)
- func (dp *DataPtr) Duration(keys ...string) (time.Duration, error)
- func (dp *DataPtr) Get(keys ...string) (string, *DataPtr, error)
- func (dp *DataPtr) Int(keys ...string) (int, error)
- func (dp *DataPtr) MapString(keys ...string) (map[string]*DataPtr, error)
- func (dp *DataPtr) MaybeGet(keys ...string) (*DataPtr, error)
- func (dp *DataPtr) Slice(keys ...string) ([]*DataPtr, error)
- func (dp *DataPtr) String(keys ...string) (string, error)
- func (dp *DataPtr) Value() interface{}
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 ¶
type DataPtr ¶
type DataPtr struct {
// contains filtered or unexported fields
}
DataPtr AFAIRE.
Click to show internal directories.
Click to hide internal directories.