mirror of
https://github.com/clearml/go-nvlib
synced 2025-01-31 10:57:14 +00:00
28486178b6
This pulls in a newer version of gopkg.in/yaml.v3 that no longer contains a high severity CVE https://nvd.nist.gov/vuln/detail/CVE-2022-28948 Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com>
17 lines
399 B
Go
17 lines
399 B
Go
//go:build !go1.17
|
|
// +build !go1.17
|
|
|
|
// TODO: once support for Go 1.16 is dropped, this file can be
|
|
// merged/removed with assertion_compare_go1.17_test.go and
|
|
// assertion_compare_can_convert.go
|
|
|
|
package assert
|
|
|
|
import "reflect"
|
|
|
|
// Older versions of Go does not have the reflect.Value.CanConvert
|
|
// method.
|
|
func canConvert(value reflect.Value, to reflect.Type) bool {
|
|
return false
|
|
}
|