blob: ca29b84dbf60410ceb19796d07b61d8e44b3ec2e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//go:build !viper_yaml3
// +build !viper_yaml3
package yaml
import yamlv2 "gopkg.in/yaml.v2"
var yaml = struct {
Marshal func(in interface{}) (out []byte, err error)
Unmarshal func(in []byte, out interface{}) (err error)
}{
Marshal: yamlv2.Marshal,
Unmarshal: yamlv2.Unmarshal,
}
|