incompatible with go1.20-
Closed this issue · 3 comments
youta-t commented
slices
and cmp
is features introduced on go1.21.
To be compatible with go 1.18, remove uses of slices
and cmp
youta-t commented
also fmt.FormatString
is used. This needs go1.20+ .
youta-t commented
its needs go1.21.
func Equal[T any, E interface{ Equal(T) bool }](want E) Matcher[T] {
requires 1.21 feature.
youta-t commented
go1.18 is abandoned. its is switched to go1.21+.