mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-09-16 18:32:30 +00:00
Update dependencies and build to go1.22 (#2113)
* Update dependencies and build to go1.22 * Fix api changes wrt to dependencies * Update golangci config
This commit is contained in:
4
vendor/github.com/spf13/viper/internal/encoding/yaml/codec.go
generated
vendored
4
vendor/github.com/spf13/viper/internal/encoding/yaml/codec.go
generated
vendored
@@ -5,10 +5,10 @@ import "gopkg.in/yaml.v3"
|
||||
// Codec implements the encoding.Encoder and encoding.Decoder interfaces for YAML encoding.
|
||||
type Codec struct{}
|
||||
|
||||
func (Codec) Encode(v map[string]interface{}) ([]byte, error) {
|
||||
func (Codec) Encode(v map[string]any) ([]byte, error) {
|
||||
return yaml.Marshal(v)
|
||||
}
|
||||
|
||||
func (Codec) Decode(b []byte, v map[string]interface{}) error {
|
||||
func (Codec) Decode(b []byte, v map[string]any) error {
|
||||
return yaml.Unmarshal(b, &v)
|
||||
}
|
||||
|
Reference in New Issue
Block a user