mock_sqlc

package
v0.0.0-...-c8a1236 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: github.com/LKarrie/learn-go-project/db/sqlc (interfaces: Store)

Generated by this command:

mockgen -destination db/mock/store.go github.com/LKarrie/learn-go-project/db/sqlc Store

Package mock_sqlc is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

type MockStore struct {
	// contains filtered or unexported fields
}

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) AddAccountBalance

func (m *MockStore) AddAccountBalance(arg0 context.Context, arg1 db.AddAccountBalanceParams) (db.Account, error)

AddAccountBalance mocks base method.

func (*MockStore) CreateAccount

func (m *MockStore) CreateAccount(arg0 context.Context, arg1 db.CreateAccountParams) (db.Account, error)

CreateAccount mocks base method.

func (*MockStore) CreateEntry

func (m *MockStore) CreateEntry(arg0 context.Context, arg1 db.CreateEntryParams) (db.Entry, error)

CreateEntry mocks base method.

func (*MockStore) CreateSession

func (m *MockStore) CreateSession(arg0 context.Context, arg1 db.CreateSessionParams) (db.Session, error)

CreateSession mocks base method.

func (*MockStore) CreateTransfer

func (m *MockStore) CreateTransfer(arg0 context.Context, arg1 db.CreateTransferParams) (db.Transfer, error)

CreateTransfer mocks base method.

func (*MockStore) CreateUser

func (m *MockStore) CreateUser(arg0 context.Context, arg1 db.CreateUserParams) (db.User, error)

CreateUser mocks base method.

func (*MockStore) CreateUserTx

func (m *MockStore) CreateUserTx(arg0 context.Context, arg1 db.CreateUserTxParams) (db.CreateUserTxResult, error)

CreateUserTx mocks base method.

func (*MockStore) CreateVerifyEmail

func (m *MockStore) CreateVerifyEmail(arg0 context.Context, arg1 db.CreateVerifyEmailParams) (db.VerifyEmail, error)

CreateVerifyEmail mocks base method.

func (*MockStore) DeleteAccount

func (m *MockStore) DeleteAccount(arg0 context.Context, arg1 int64) error

DeleteAccount mocks base method.

func (*MockStore) DeleteEntry

func (m *MockStore) DeleteEntry(arg0 context.Context, arg1 int64) error

DeleteEntry mocks base method.

func (*MockStore) DeleteTransfer

func (m *MockStore) DeleteTransfer(arg0 context.Context, arg1 int64) error

DeleteTransfer mocks base method.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStore) GetAccount

func (m *MockStore) GetAccount(arg0 context.Context, arg1 int64) (db.Account, error)

GetAccount mocks base method.

func (*MockStore) GetAccountForUpdate

func (m *MockStore) GetAccountForUpdate(arg0 context.Context, arg1 int64) (db.Account, error)

GetAccountForUpdate mocks base method.

func (*MockStore) GetEntry

func (m *MockStore) GetEntry(arg0 context.Context, arg1 int64) (db.Entry, error)

GetEntry mocks base method.

func (*MockStore) GetSession

func (m *MockStore) GetSession(arg0 context.Context, arg1 uuid.UUID) (db.Session, error)

GetSession mocks base method.

func (*MockStore) GetTransfer

func (m *MockStore) GetTransfer(arg0 context.Context, arg1 int64) (db.Transfer, error)

GetTransfer mocks base method.

func (*MockStore) GetUser

func (m *MockStore) GetUser(arg0 context.Context, arg1 string) (db.User, error)

GetUser mocks base method.

func (*MockStore) ListAccount

func (m *MockStore) ListAccount(arg0 context.Context, arg1 db.ListAccountParams) ([]db.Account, error)

ListAccount mocks base method.

func (*MockStore) ListEntry

func (m *MockStore) ListEntry(arg0 context.Context, arg1 db.ListEntryParams) ([]db.Entry, error)

ListEntry mocks base method.

func (*MockStore) ListTransfer

func (m *MockStore) ListTransfer(arg0 context.Context, arg1 db.ListTransferParams) ([]db.Transfer, error)

ListTransfer mocks base method.

func (*MockStore) TransferTx

func (m *MockStore) TransferTx(arg0 context.Context, arg1 db.TransferTxParams) (db.TransferTxResult, error)

TransferTx mocks base method.

func (*MockStore) UpdateAccount

func (m *MockStore) UpdateAccount(arg0 context.Context, arg1 db.UpdateAccountParams) (db.Account, error)

UpdateAccount mocks base method.

func (*MockStore) UpdateEntry

func (m *MockStore) UpdateEntry(arg0 context.Context, arg1 db.UpdateEntryParams) (db.Entry, error)

UpdateEntry mocks base method.

func (*MockStore) UpdateTransfer

func (m *MockStore) UpdateTransfer(arg0 context.Context, arg1 db.UpdateTransferParams) (db.Transfer, error)

UpdateTransfer mocks base method.

func (*MockStore) UpdateUser

func (m *MockStore) UpdateUser(arg0 context.Context, arg1 db.UpdateUserParams) (db.User, error)

UpdateUser mocks base method.

func (*MockStore) UpdateVerfyEmail

func (m *MockStore) UpdateVerfyEmail(arg0 context.Context, arg1 db.UpdateVerfyEmailParams) (db.VerifyEmail, error)

UpdateVerfyEmail mocks base method.

func (*MockStore) VerifyEmailTx

func (m *MockStore) VerifyEmailTx(arg0 context.Context, arg1 db.VerifyEmailTxParams) (db.VerifyEmailTxResult, error)

VerifyEmailTx mocks base method.

type MockStoreMockRecorder

type MockStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) AddAccountBalance

func (mr *MockStoreMockRecorder) AddAccountBalance(arg0, arg1 any) *gomock.Call

AddAccountBalance indicates an expected call of AddAccountBalance.

func (*MockStoreMockRecorder) CreateAccount

func (mr *MockStoreMockRecorder) CreateAccount(arg0, arg1 any) *gomock.Call

CreateAccount indicates an expected call of CreateAccount.

func (*MockStoreMockRecorder) CreateEntry

func (mr *MockStoreMockRecorder) CreateEntry(arg0, arg1 any) *gomock.Call

CreateEntry indicates an expected call of CreateEntry.

func (*MockStoreMockRecorder) CreateSession

func (mr *MockStoreMockRecorder) CreateSession(arg0, arg1 any) *gomock.Call

CreateSession indicates an expected call of CreateSession.

func (*MockStoreMockRecorder) CreateTransfer

func (mr *MockStoreMockRecorder) CreateTransfer(arg0, arg1 any) *gomock.Call

CreateTransfer indicates an expected call of CreateTransfer.

func (*MockStoreMockRecorder) CreateUser

func (mr *MockStoreMockRecorder) CreateUser(arg0, arg1 any) *gomock.Call

CreateUser indicates an expected call of CreateUser.

func (*MockStoreMockRecorder) CreateUserTx

func (mr *MockStoreMockRecorder) CreateUserTx(arg0, arg1 any) *gomock.Call

CreateUserTx indicates an expected call of CreateUserTx.

func (*MockStoreMockRecorder) CreateVerifyEmail

func (mr *MockStoreMockRecorder) CreateVerifyEmail(arg0, arg1 any) *gomock.Call

CreateVerifyEmail indicates an expected call of CreateVerifyEmail.

func (*MockStoreMockRecorder) DeleteAccount

func (mr *MockStoreMockRecorder) DeleteAccount(arg0, arg1 any) *gomock.Call

DeleteAccount indicates an expected call of DeleteAccount.

func (*MockStoreMockRecorder) DeleteEntry

func (mr *MockStoreMockRecorder) DeleteEntry(arg0, arg1 any) *gomock.Call

DeleteEntry indicates an expected call of DeleteEntry.

func (*MockStoreMockRecorder) DeleteTransfer

func (mr *MockStoreMockRecorder) DeleteTransfer(arg0, arg1 any) *gomock.Call

DeleteTransfer indicates an expected call of DeleteTransfer.

func (*MockStoreMockRecorder) GetAccount

func (mr *MockStoreMockRecorder) GetAccount(arg0, arg1 any) *gomock.Call

GetAccount indicates an expected call of GetAccount.

func (*MockStoreMockRecorder) GetAccountForUpdate

func (mr *MockStoreMockRecorder) GetAccountForUpdate(arg0, arg1 any) *gomock.Call

GetAccountForUpdate indicates an expected call of GetAccountForUpdate.

func (*MockStoreMockRecorder) GetEntry

func (mr *MockStoreMockRecorder) GetEntry(arg0, arg1 any) *gomock.Call

GetEntry indicates an expected call of GetEntry.

func (*MockStoreMockRecorder) GetSession

func (mr *MockStoreMockRecorder) GetSession(arg0, arg1 any) *gomock.Call

GetSession indicates an expected call of GetSession.

func (*MockStoreMockRecorder) GetTransfer

func (mr *MockStoreMockRecorder) GetTransfer(arg0, arg1 any) *gomock.Call

GetTransfer indicates an expected call of GetTransfer.

func (*MockStoreMockRecorder) GetUser

func (mr *MockStoreMockRecorder) GetUser(arg0, arg1 any) *gomock.Call

GetUser indicates an expected call of GetUser.

func (*MockStoreMockRecorder) ListAccount

func (mr *MockStoreMockRecorder) ListAccount(arg0, arg1 any) *gomock.Call

ListAccount indicates an expected call of ListAccount.

func (*MockStoreMockRecorder) ListEntry

func (mr *MockStoreMockRecorder) ListEntry(arg0, arg1 any) *gomock.Call

ListEntry indicates an expected call of ListEntry.

func (*MockStoreMockRecorder) ListTransfer

func (mr *MockStoreMockRecorder) ListTransfer(arg0, arg1 any) *gomock.Call

ListTransfer indicates an expected call of ListTransfer.

func (*MockStoreMockRecorder) TransferTx

func (mr *MockStoreMockRecorder) TransferTx(arg0, arg1 any) *gomock.Call

TransferTx indicates an expected call of TransferTx.

func (*MockStoreMockRecorder) UpdateAccount

func (mr *MockStoreMockRecorder) UpdateAccount(arg0, arg1 any) *gomock.Call

UpdateAccount indicates an expected call of UpdateAccount.

func (*MockStoreMockRecorder) UpdateEntry

func (mr *MockStoreMockRecorder) UpdateEntry(arg0, arg1 any) *gomock.Call

UpdateEntry indicates an expected call of UpdateEntry.

func (*MockStoreMockRecorder) UpdateTransfer

func (mr *MockStoreMockRecorder) UpdateTransfer(arg0, arg1 any) *gomock.Call

UpdateTransfer indicates an expected call of UpdateTransfer.

func (*MockStoreMockRecorder) UpdateUser

func (mr *MockStoreMockRecorder) UpdateUser(arg0, arg1 any) *gomock.Call

UpdateUser indicates an expected call of UpdateUser.

func (*MockStoreMockRecorder) UpdateVerfyEmail

func (mr *MockStoreMockRecorder) UpdateVerfyEmail(arg0, arg1 any) *gomock.Call

UpdateVerfyEmail indicates an expected call of UpdateVerfyEmail.

func (*MockStoreMockRecorder) VerifyEmailTx

func (mr *MockStoreMockRecorder) VerifyEmailTx(arg0, arg1 any) *gomock.Call

VerifyEmailTx indicates an expected call of VerifyEmailTx.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL