5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-29 10:31:36 +00:00
matterbridge/vendor/github.com/spf13/viper/internal/encoding/yaml/yaml2.go

15 lines
289 B
Go
Raw Normal View History

2022-06-11 21:07:42 +00:00
//go:build viper_yaml2
// +build viper_yaml2
2022-04-25 21:50:10 +00:00
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,
}