# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ConvertMapToSyncMap converts map[string]interface{} to sync.Map.
No description provided by the author
ConvertStructToMap converts []string{"red", "blue", "red"} to map[string]bool{"red":true,"blue":true}.
ConvertStructToSyncMap converts []string{"red", "blue"} to sync.Map{"red":true,"blue":true}.
* ConvertStructToSyncMapWithCallback does the same as ConvertStructToSyncMap with additional filter/mutator callback
* callback result string should return a modified value, result bool if false item won't be included in the output
*/.
ConvertSyncMapToMap converts sync.Map to map[string]interface{}.
No description provided by the author
ExtractMapValues converts map[string]interface{}{"Bob":"Bob", "Alice":"Alice", "John":"John"}by filter values []interface{}{"Bob","Alice"} to []interface{}{"Bob", "Alice", "John"}.
No description provided by the author
GetMapValueOrError returns error if map doesn't contain the provided key.
JoinMap converts map[string]string{"name":"Bob","color":"red","size","big"} to2 strings "name,color,size" and "Bob,red,big" if "," is provided as separator.
MapToSlice converts map[string]string{"name":"Bob","color":"red","size","big"} tokeys and values slices like []string{"name","color","size"} and []string{"Bob","red","big"}.
MarshalSyncMap converts sync.Map to a json formatted byte string.
No description provided by the author
UnMarshalSyncMap converts json formatted byte string to sync.Map.
# Constants
No description provided by the author