chore: migrate from unmaintained mockgen (#11547)

The golang mock package has been archived and is now maintained by uber.

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

[1] https://github.com/golang/mock
[2] https://github.com/uber-go/mock
This commit is contained in:
Martin Weinelt 2024-01-08 11:13:27 +01:00 • committed by GitHub
parent e8c900d607
commit daee304a49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 412 additions and 43 deletions

View file

@ -3,7 +3,7 @@ package wrapper
import (
"testing"
"github.com/golang/mock/gomock"
"go.uber.org/mock/gomock"
)
func TestProxyChargeMeter(t *testing.T) {

View file

@ -7,7 +7,7 @@ import (
"github.com/benbjohnson/clock"
"github.com/evcc-io/evcc/api"
"github.com/evcc-io/evcc/util"
"github.com/golang/mock/gomock"
"go.uber.org/mock/gomock"
)
func TestNoMeter(t *testing.T) {