derision-test / go-mockgen

MIT License
58 stars 8 forks source link

gomod: update x/tools for go1.18 support #22

Closed keegancsmith closed 2 years ago

keegancsmith commented 2 years ago

Before this commit go-mockgen fails on go1.18 code with errors like:

internal error: package "context" without types was imported from "package/name/here"

This commit updates the dependency. After this update go-mockgen works.

Note: the dependencies in this repository are important. In newer versions of go if you run "go install go-mockgen@version" it uses the module file in this repository, not your repository.

Note: we update all dependencies. We can limit this just to the relevant deps.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information