5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-12-01 22:51:36 +00:00
matterbridge/vendor/github.com/spf13/viper/internal/encoding/yaml/yaml3.go
2022-06-11 23:07:42 +02:00

15 lines
291 B
Go

//go:build !viper_yaml2
// +build !viper_yaml2
package yaml
import yamlv3 "gopkg.in/yaml.v3"
var yaml = struct {
Marshal func(in interface{}) (out []byte, err error)
Unmarshal func(in []byte, out interface{}) (err error)
}{
Marshal: yamlv3.Marshal,
Unmarshal: yamlv3.Unmarshal,
}