Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

github.com/golang/mock is deprecated in favour of github.com/uber-go/mock #62

Open
lithammer opened this issue Sep 27, 2023 · 1 comment · May be fixed by #63
Open

github.com/golang/mock is deprecated in favour of github.com/uber-go/mock #62

lithammer opened this issue Sep 27, 2023 · 1 comment · May be fixed by #63

Comments

@lithammer
Copy link

The https://github.com/golang/mock repo is unmaintained and has been archived. They promote https://github.com/uber/mock instead.

Update, June 2023: This repo and tool are no longer maintained. Please see go.uber.org/mock for a maintained fork instead.

lithammer added a commit to lithammer/bazel_gomock that referenced this issue Sep 27, 2023
`github.com/golang/mock` is no maintained and `go.uber.org/mock` is the
recommmended fork alternative.

> Update, June 2023: This repo and tool are no longer maintained. Please
> see go.uber.org/mock for a maintained fork instead.

I deliberately picked an older version (v0.1.0) because it mirrors
`github.com/golang/mock` and can be migrated to as-is.

Fixes jmhodges#62
@lithammer lithammer linked a pull request Sep 27, 2023 that will close this issue
lithammer added a commit to lithammer/bazel_gomock that referenced this issue Sep 27, 2023
`github.com/golang/mock` is no longer maintained and `go.uber.org/mock`
is the recommmended fork alternative.

> Update, June 2023: This repo and tool are no longer maintained. Please
> see go.uber.org/mock for a maintained fork instead.

I deliberately picked an older version (v0.1.0) because it mirrors
`github.com/golang/mock` and can be migrated to as-is.

Fixes jmhodges#62
@jmhodges
Copy link
Owner

jmhodges commented Oct 6, 2023

Dropped a mention on the PR but: Thank you and sorry!

I think you want to make this change against the version of this that's in the extras directory of rules_go.

The rules_go folks decided they wanted some changes and have been supporting running gomock over there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants