Documentation ¶
Overview ¶
Utils functions
Index ¶
- func Check(e error)
- func DecodeJson(data []byte) (interface{}, error)
- func DecodeYaml(data []byte) (map[string]interface{}, error)
- func EncodeJson(mapData interface{}) ([]byte, error)
- func EncodeYaml(mapData interface{}) ([]byte, error)
- func ReadFile(path string) string
- func SaveOutput(path string, content string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeJson ¶
func DecodeYaml ¶
func EncodeJson ¶
func EncodeYaml ¶
func SaveOutput ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.