Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyJSON ¶ added in v0.0.2
func CopyJSON(dst, from interface{}) error
CopyJSON copy object via json marshal
func MustJSON ¶
func MustJSON(obj interface{}) string
MustJSON marshal obj to json string, a panic will be thrown if marshal failed
func MustYAMLV2 ¶ added in v0.0.2
func MustYAMLV2(obj interface{}) string
MustYAMLV2 marshal obj to yaml string, a panic will be thrown if marshal failed
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.