feat: 0.0.1

This commit is contained in:
FernandoJVideira committed 2026-01-08 01:15:07 +00:00
commit 961bdd81d4
146 files changed
+10444

No files matched your search

+62
View File
@@ -0,0 +1,62 @@
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/FernandoJVideira/simple_bank/internal/worker (interfaces: TaskDistributor)
//
// Generated by this command:
//
// mockgen --package mockwk --destination internal/worker/mock/distributor.go github.com/FernandoJVideira/simple_bank/internal/worker TaskDistributor
//
// Package mockwk is a generated GoMock package.
package mockwk
import (
context "context"
reflect "reflect"
worker "github.com/FernandoJVideira/simple_bank/internal/worker"
asynq "github.com/hibiken/asynq"
gomock "go.uber.org/mock/gomock"
)
// MockTaskDistributor is a mock of TaskDistributor interface.
type MockTaskDistributor struct {
ctrl *gomock.Controller
recorder *MockTaskDistributorMockRecorder
isgomock struct{}
}
// MockTaskDistributorMockRecorder is the mock recorder for MockTaskDistributor.
type MockTaskDistributorMockRecorder struct {
mock *MockTaskDistributor
}
// NewMockTaskDistributor creates a new mock instance.
func NewMockTaskDistributor(ctrl *gomock.Controller) *MockTaskDistributor {
mock := &MockTaskDistributor{ctrl: ctrl}
mock.recorder = &MockTaskDistributorMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockTaskDistributor) EXPECT() *MockTaskDistributorMockRecorder {
return m.recorder
}
// DestributeTaskSendVerifyEmail mocks base method.
func (m *MockTaskDistributor) DestributeTaskSendVerifyEmail(ctx context.Context, payload *worker.SendVerifyEmailPayload, opts ...asynq.Option) error {
m.ctrl.T.Helper()
varargs := []any{ctx, payload}
for _, a := range opts {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "DestributeTaskSendVerifyEmail", varargs...)
ret0, _ := ret[0].(error)
return ret0
}
// DestributeTaskSendVerifyEmail indicates an expected call of DestributeTaskSendVerifyEmail.
func (mr *MockTaskDistributorMockRecorder) DestributeTaskSendVerifyEmail(ctx, payload any, opts ...any) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]any{ctx, payload}, opts...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DestributeTaskSendVerifyEmail", reflect.TypeOf((*MockTaskDistributor)(nil).DestributeTaskSendVerifyEmail), varargs...)
}