golang / mock

GoMock is a mocking framework for the Go programming language.
Apache License 2.0
9.3k stars 611 forks source link

unsupported version of go when using go version go1.10.3 darwin/amd64 #301

Closed bellondr closed 5 years ago

bellondr commented 5 years ago

when I use mockgen -source=./contract.go -destination=./mocks/contract_mock.go -package=mock to generate mock impl. The error is: Loading input failed: unsupported version of go: exit status 2: flag provided but not defined: -compiled Does it means that mockgen do not support go1.10.3

balshetzer commented 5 years ago

Gomock only supports the last two major versions of go. Right now that's 1.11.x and 1.12.x.