Map represents an instance of keys mapping.
All the function returning values associated with keys will return a fallback value if the key is not present in the map or if the value can't be converted to the requested type.
Clone returns a clone of the keys mapping instance.
Flatten returns a "flattened" version of the map. * all nested elements are moved at the top level, with sub-level keys prefixed with the original key name using the glue string * any value whose type is different than maps or slice is returned as string representation (fmt "%v" verb) * slice elements are flattened, with their numeric index value as suffix * any pointer value is dereferenced
GetBool returns the boolean value associated with a key.
GetFloat returns the floating-point number value associated with a key.
GetInt returns the integer value associated with a key.
GetInt64 returns the 64-bit integer value associated with a key.
GetInterface returns the interface value associated with a key.
GetMap returns the map value associated with a key.
GetString returns the string value associated with a key.
GetStringSlice returns the string value associated with a key.
Has returns true if key is present in the mapping, false otherwise.
Merge merges the source map entries into the receiver map. If replace parameter is true, existing entries in the receiver map will be replaced with entries from the source map.
Scan unmarshals the keys mapping retrieved from SQL drivers.
Set sets the mapping key k to the value v.
Value marshals the keys mapping for compatibility with SQL drivers.