mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-14 06:10:27 +00:00
15 lines
291 B
Go
15 lines
291 B
Go
|
//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,
|
||
|
}
|