Documentation
¶
Index ¶
- func DiffByte(a, b []byte) (bool, string)
- func DiffByteWithConsole(a, b []byte) (bool, string)
- func DiffString(a, b string) (bool, string)
- func DiffStringWithConsole(a, b string) (bool, string)
- func GetJsonPath(m interface{}, name string, res map[string]interface{}, path string) (string, map[string]interface{})
- func HandleJsonArray(m interface{}, key string, nVal interface{}, path string) (interface{}, error)
- func HandleJsonMap(m interface{}, key string, val interface{}, path string) (interface{}, error)
- func Json2Map(jsonStr string) (map[string]interface{}, error)
- func JsonDecode(source interface{}, dst interface{}) error
- func JsonMarshal(v interface{}) string
- func JsonMarshal2interface(from, to interface{}) error
- func JsonMarshalIndent(v interface{}) string
- func UpdateJson(path string, m interface{}, val interface{}) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiffByteWithConsole ¶
func DiffString ¶
func DiffStringWithConsole ¶
func GetJsonPath ¶
func HandleJsonArray ¶
func HandleJsonMap ¶
func JsonDecode ¶
func JsonDecode(source interface{}, dst interface{}) error
func JsonMarshal ¶
func JsonMarshal(v interface{}) string
func JsonMarshal2interface ¶
func JsonMarshal2interface(from, to interface{}) error
func JsonMarshalIndent ¶
func JsonMarshalIndent(v interface{}) string
func UpdateJson ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.