package
0.0.0-20231206062002-1ce2f004b7d9
Repository: https://github.com/codingeasygo/util.git
Documentation: pkg.go.dev
# Functions
ArrayMapVal will convert value to map array.
MapVal will conventer value to map.
New will create map Valuable.
No description provided by the author
NewSafe will return new safe map.
No description provided by the author
No description provided by the author
Parse will parse val to map.
ParseArray will parse value to map array.
ParseSafe will parse val to map.
ParseSafeArray will parse value to map array.
ReadJSON will read json data from file and parset to M.
ReplaceAll will replace input string by ${xx}, which xx is in values, if usingEnv is true, xx will check use env when vals is not having xx, if usingEmpty is true, xx will check use empty string when vals is not having xx and env is not exist.
No description provided by the author
Wrap will wrap raw map to safe.
WrapArray will wrap base values to array.
WrapSafe will wrap raw map to safe.
WrapSafeArray will wrap raw map to safe.
WriteJSON will marshal M to json and write to file.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
SafeM is safe map.
No description provided by the author
No description provided by the author
# Interfaces
BaseValuable is interface which can be store value.
RawMapable will get the raw map.
Valuable is interface which can be store and convert value.