Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2017 Changes in this version + const FLOAT64 + const FUNCPOINTER + const INT + const INTPOINTER + const OPTION + const STRING + const STRINGPOINTER + const STRINGSLICE + const STRINGTABLE + var ErrKeyNotFound = errors.New("The given key was not found inside storage!") + var ErrTypeNotSupported = errors.New("Type is not supported!") + type Data struct + Data map[string]interface{} + Values map[string]DataType + func New() *Data + func (d *Data) Get(key string) interface{} + func (d *Data) GetKeys() []string + func (d *Data) GetType(key string) (DataType, error) + func (d *Data) GetWithErrors(key string) (interface{}, error) + func (d *Data) Marshal() ([]byte, error) + func (d *Data) Remove(key string) bool + func (d *Data) Set(key string, i interface{}) error + func (d *Data) SetData(data *Data) error + func (d *Data) Unmarshal(b []byte) error + type DataType string + type Option struct + Option string + Values []string