//
pkg.gl
Category
github.com/pengcong06/openpitrix
pkg
util
yamlutil
package
0.4.1
Repository:
https://github.com/pengcong06/openpitrix.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
1
Dependents
0
Files
9 SLOC
#
Functions
Decode
Converts YAML to JSON then uses JSON to unmarshal into an object.
Encode
Marshals the object into JSON then converts JSON to YAML and returns the YAML.