summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/spf13/viper/internal/encoding/yaml/yaml3.go
blob: 3a4775ced9595e9f5509e6cbccbc1c78e84f1c74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//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,
}