Files
GoToSocial/vendor/github.com/go-viper/mapstructure/v2/reflect_go1_20.go
kim f46e490c30 [chore] bumps our spf13/viper version (#3943)
* bumps our spf13/viper version

* fixes the one breaking change
2025-03-26 11:44:24 +00:00

11 lines
176 B
Go

//go:build go1.20
package mapstructure
import "reflect"
// TODO: remove once we drop support for Go <1.20
func isComparable(v reflect.Value) bool {
return v.Comparable()
}