mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-10 19:22:00 -08:00
15 lines
289 B
Go
15 lines
289 B
Go
//go:build viper_yaml2
|
|
// +build viper_yaml2
|
|
|
|
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,
|
|
}
|