mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-27 10:43:32 +01:00
b56dae8120
* update all but bun libraries Signed-off-by: kim <grufwub@gmail.com> * remove my personal build script changes Signed-off-by: kim <grufwub@gmail.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
|
|
}
|