diff --git a/internal/auth0/email_provider.go b/internal/auth0/email_provider.go index ee4244989..127217feb 100644 --- a/internal/auth0/email_provider.go +++ b/internal/auth0/email_provider.go @@ -1,3 +1,5 @@ +//go:generate mockgen -source=email_provider.go -destination=mock/email_provider_mock.go -package=mock + package auth0 import ( diff --git a/internal/auth0/email_template.go b/internal/auth0/email_template.go index 1f489f5cd..1d250dea8 100644 --- a/internal/auth0/email_template.go +++ b/internal/auth0/email_template.go @@ -1,3 +1,5 @@ +//go:generate mockgen -source=email_template.go -destination=mock/email_template_mock.go -package=mock + package auth0 import ( diff --git a/internal/auth0/mock/email_provider_mock.go b/internal/auth0/mock/email_provider_mock.go index c153e1f79..149873b61 100644 --- a/internal/auth0/mock/email_provider_mock.go +++ b/internal/auth0/mock/email_provider_mock.go @@ -1,5 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. -// Source: action.go +// Source: email_provider.go // Package mock is a generated GoMock package. package mock @@ -53,4 +53,4 @@ func (mr *MockEmailProviderAPIMockRecorder) Read(ctx interface{}, opts ...interf mr.mock.ctrl.T.Helper() varargs := append([]interface{}{ctx}, opts...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Read", reflect.TypeOf((*MockEmailProviderAPI)(nil).Read), varargs...) -} \ No newline at end of file +} diff --git a/internal/auth0/mock/email_template_mock.go b/internal/auth0/mock/email_template_mock.go index 51e667486..db3d52312 100644 --- a/internal/auth0/mock/email_template_mock.go +++ b/internal/auth0/mock/email_template_mock.go @@ -1,7 +1,7 @@ // Code generated by MockGen. DO NOT EDIT. // Source: email_template.go -// Package mock_auth0 is a generated GoMock package. +// Package mock is a generated GoMock package. package mock import (