mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-07-05 22:04:47 +08:00
* fix: update vendor for clickhouse v2 * fix: fix go vet * fix: unreachable codes * fix: composite literal uses unkeyed fields * fix: ignore bad syntax for struct tag value * fix: use make test to do test ci job * fix: specify circleci resource_class Co-authored-by: Qiu Jian <qiujian@yunionyun.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
|
|
}
|