I can define a generic function:
package hello
func IsZero[T int64|float64](value T) bool {
return value == 0
}
Then if I try to alias that function in another package, it fails:
package world
wono
|
|
wono
cmd/go2go: anonymous func with generics
https://github.com/golang/go/issues/39632
Do you want to delete?