Documentation ¶
Index ¶
- type Map
- func (m Map) ForceJSON() string
- func (m Map) ForceMap(key string) Map
- func (m Map) ForceString(key string) string
- func (m Map) GetArrayString(key string) ([]string, bool)
- func (m Map) GetMap(key string) (Map, bool)
- func (m Map) GetString(key string) (string, bool)
- func (m Map) JSON() ([]byte, error)
- func (m *Map) Scan(val interface{}) error
- func (m Map) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Map ¶
type Map map[string]interface{}
Map is a map from string to interface
func CreateMapFromReader ¶
CreateMapFromReader creates map from a JSON reader
func CreateMapFromStruct ¶
CreateMapFromStruct creates map from struct
func (Map) ForceString ¶
ForceString returns value of key as a string, ignores error
func (Map) GetArrayString ¶
GetArrayString returns value of key as an array of string
Click to show internal directories.
Click to hide internal directories.