Documentation ¶
Index ¶
- func GetJsonFromRaw(raw []byte) (string, error)
- func GetMapFromRaw(raw []byte) (map[string]interface{}, error)
- func GetPrettyJsonFromMap(input map[string]interface{}) (string, error)
- func GetPrettyJsonFromString(ugly string) (string, error)
- func IsPropperHash(hash string) bool
- func LoadJsonFile(filepath string) map[string]interface{}
- func LoadMultipleJsonFiles(metadataFile string) map[string]interface{}
- func SetValueInStructByJsonKey(item interface{}, fieldName string, value interface{}) error
- func YesOrNoQuestion(question string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetJsonFromRaw ¶
func GetMapFromRaw ¶
func GetPrettyJsonFromMap ¶
func GetPrettyJsonFromString ¶
func LoadJsonFile ¶
func LoadMultipleJsonFiles ¶
func SetValueInStructByJsonKey ¶
Set field by json name
func YesOrNoQuestion ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.