mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-26 06:56:26 +00:00
ad0f7a5305
Upgrade to Go 1.20.5, Hydra v2 SDK, rules-go v0.44.2 (with proper resolves), protobuf v25.3 and mass upgrade of Go dependencies.
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
|
|
}
|