Documentation ¶ Index ¶ func Cast(v interface{}, typ reflect.Type) (to interface{}, err error) type Van func New() *Van func (v *Van) Get(key string) (val interface{}) func (v *Van) GetAll() map[string]interface{} func (v *Van) Set(key string, value interface{}) func (v *Van) SetDefault(key string, value interface{}) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Cast ¶ func Cast(v interface{}, typ reflect.Type) (to interface{}, err error) Types ¶ type Van ¶ type Van struct { // contains filtered or unexported fields } func New ¶ func New() *Van func (*Van) Get ¶ func (v *Van) Get(key string) (val interface{}) func (*Van) GetAll ¶ func (v *Van) GetAll() map[string]interface{} func (*Van) Set ¶ func (v *Van) Set(key string, value interface{}) func (*Van) SetDefault ¶ func (v *Van) SetDefault(key string, value interface{}) Source Files ¶ View all Source files cast.go store.go van.go Click to show internal directories. Click to hide internal directories.