mirror of https://github.com/docker/cli.git
11 lines
176 B
Go
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()
|
||
|
}
|