You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 16, 2022. It is now read-only.
go generate ./client/services/...
# command-line-arguments./prog.go:27:49: undefined: services.SubscriptionGetter
# command-line-arguments./prog.go:27:49: undefined: services.SubscriptionGetter
prog.go:14:2: no required module provides package github.com/cloudquery/cq-provider-azure/client/services: go.mod file not found in current directory or any parent directory; see 'go help modules'
prog.go:12:2: no required module provides package github.com/golang/mock/mockgen/model: go.mod file not found in current directory or any parent directory; see 'go help modules'
2022/07/0716:55:38 Loading input failed: exit status 1
client/services/services.go:21: running "mockgen": exit status 1
make: *** [generate-mocks] Error 1
Expected Behavior
Mocks should be generated without error
Steps to Reproduce
See above
Possible Solution
From a cursory glance, it seems like the mock generation code is duplicated in services.go, and the entry for Subscriptions there is referring to SubscriptionGetter instead of SubscriptionsClient. But since it's duplicated, maybe we can remove all those comments in services.go?