mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-05 01:52:46 +00:00
15 lines
289 B
Go
15 lines
289 B
Go
|
//go:build viper_yaml3
|
||
|
// +build viper_yaml3
|
||
|
|
||
|
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,
|
||
|
}
|