mockdb

package
v0.0.0-...-c98df5a Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: github.com/bibi-ic/mata/internal/db/sqlc (interfaces: Store)

Generated by this command:

mockgen -package mockdb -destination internal/db/mock/store.go github.com/bibi-ic/mata/internal/db/sqlc Store

Package mockdb 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) CreateAPI

func (m *MockStore) CreateAPI(arg0 context.Context, arg1 string) (db.Api, error)

CreateAPI 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) GetAPI

func (m *MockStore) GetAPI(arg0 context.Context) (db.Api, error)

GetAPI mocks base method.

func (*MockStore) GetAPITx

func (m *MockStore) GetAPITx(arg0 context.Context) (string, error)

GetAPITx mocks base method.

func (*MockStore) UpdateAPIUsageCount

func (m *MockStore) UpdateAPIUsageCount(arg0 context.Context, arg1 db.UpdateAPIUsageCountParams) error

UpdateAPIUsageCount mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) CreateAPI

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

CreateAPI indicates an expected call of CreateAPI.

func (*MockStoreMockRecorder) GetAPI

func (mr *MockStoreMockRecorder) GetAPI(arg0 any) *gomock.Call

GetAPI indicates an expected call of GetAPI.

func (*MockStoreMockRecorder) GetAPITx

func (mr *MockStoreMockRecorder) GetAPITx(arg0 any) *gomock.Call

GetAPITx indicates an expected call of GetAPITx.

func (*MockStoreMockRecorder) UpdateAPIUsageCount

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

UpdateAPIUsageCount indicates an expected call of UpdateAPIUsageCount.

Jump to

Keyboard shortcuts

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