mod=example.com/generics | |
base=v0.0.1 | |
-- want -- | |
# example.com/generics/a | |
## incompatible changes | |
Foo[V any].Value: changed from func() V to func() int | |
# summary | |
Suggested version: v0.1.0 | |
-- go.mod -- | |
module example.com/generics | |
go 1.18 | |
-- a/a.go -- | |
package a | |
type Foo[V any] interface { | |
Value() int | |
} |