Documentation ¶
Index ¶
- type Querier
- func (_m *Querier) DecreaseDeployableTroops(ctx context.Context, arg sqlc.DecreaseDeployableTroopsParams) error
- func (_m *Querier) EXPECT() *Querier_Expecter
- func (_m *Querier) ExecuteInTransaction(ctx context.Context, txFunc func(db.Querier) (interface{}, error)) (interface{}, error)
- func (_m *Querier) ExecuteInTransactionWithIsolation(ctx context.Context, isolationLevel pgx.TxIsoLevel, ...) (interface{}, error)
- func (_m *Querier) GetGame(ctx context.Context, id int64) (sqlc.Game, error)
- func (_m *Querier) GetPlayerByUserId(ctx context.Context, userID string) (sqlc.Player, error)
- func (_m *Querier) GetPlayersByGame(ctx context.Context, gameID int64) ([]sqlc.Player, error)
- func (_m *Querier) GetRegionsByGame(ctx context.Context, id int64) ([]sqlc.GetRegionsByGameRow, error)
- func (_m *Querier) IncreaseRegionTroops(ctx context.Context, arg sqlc.IncreaseRegionTroopsParams) error
- func (_m *Querier) InsertGame(ctx context.Context) (int64, error)
- func (_m *Querier) InsertPlayers(ctx context.Context, arg []sqlc.InsertPlayersParams) (int64, error)
- func (_m *Querier) InsertRegions(ctx context.Context, arg []sqlc.InsertRegionsParams) (int64, error)
- func (_m *Querier) SetGamePhase(ctx context.Context, arg sqlc.SetGamePhaseParams) error
- type Querier_DecreaseDeployableTroops_Call
- func (_c *Querier_DecreaseDeployableTroops_Call) Return(_a0 error) *Querier_DecreaseDeployableTroops_Call
- func (_c *Querier_DecreaseDeployableTroops_Call) Run(run func(ctx context.Context, arg sqlc.DecreaseDeployableTroopsParams)) *Querier_DecreaseDeployableTroops_Call
- func (_c *Querier_DecreaseDeployableTroops_Call) RunAndReturn(run func(context.Context, sqlc.DecreaseDeployableTroopsParams) error) *Querier_DecreaseDeployableTroops_Call
- type Querier_ExecuteInTransactionWithIsolation_Call
- func (_c *Querier_ExecuteInTransactionWithIsolation_Call) Return(_a0 interface{}, _a1 error) *Querier_ExecuteInTransactionWithIsolation_Call
- func (_c *Querier_ExecuteInTransactionWithIsolation_Call) Run(run func(ctx context.Context, isolationLevel pgx.TxIsoLevel, ...)) *Querier_ExecuteInTransactionWithIsolation_Call
- func (_c *Querier_ExecuteInTransactionWithIsolation_Call) RunAndReturn(...) *Querier_ExecuteInTransactionWithIsolation_Call
- type Querier_ExecuteInTransaction_Call
- func (_c *Querier_ExecuteInTransaction_Call) Return(_a0 interface{}, _a1 error) *Querier_ExecuteInTransaction_Call
- func (_c *Querier_ExecuteInTransaction_Call) Run(run func(ctx context.Context, txFunc func(db.Querier) (interface{}, error))) *Querier_ExecuteInTransaction_Call
- func (_c *Querier_ExecuteInTransaction_Call) RunAndReturn(...) *Querier_ExecuteInTransaction_Call
- type Querier_Expecter
- func (_e *Querier_Expecter) DecreaseDeployableTroops(ctx interface{}, arg interface{}) *Querier_DecreaseDeployableTroops_Call
- func (_e *Querier_Expecter) ExecuteInTransaction(ctx interface{}, txFunc interface{}) *Querier_ExecuteInTransaction_Call
- func (_e *Querier_Expecter) ExecuteInTransactionWithIsolation(ctx interface{}, isolationLevel interface{}, txFunc interface{}) *Querier_ExecuteInTransactionWithIsolation_Call
- func (_e *Querier_Expecter) GetGame(ctx interface{}, id interface{}) *Querier_GetGame_Call
- func (_e *Querier_Expecter) GetPlayerByUserId(ctx interface{}, userID interface{}) *Querier_GetPlayerByUserId_Call
- func (_e *Querier_Expecter) GetPlayersByGame(ctx interface{}, gameID interface{}) *Querier_GetPlayersByGame_Call
- func (_e *Querier_Expecter) GetRegionsByGame(ctx interface{}, id interface{}) *Querier_GetRegionsByGame_Call
- func (_e *Querier_Expecter) IncreaseRegionTroops(ctx interface{}, arg interface{}) *Querier_IncreaseRegionTroops_Call
- func (_e *Querier_Expecter) InsertGame(ctx interface{}) *Querier_InsertGame_Call
- func (_e *Querier_Expecter) InsertPlayers(ctx interface{}, arg interface{}) *Querier_InsertPlayers_Call
- func (_e *Querier_Expecter) InsertRegions(ctx interface{}, arg interface{}) *Querier_InsertRegions_Call
- func (_e *Querier_Expecter) SetGamePhase(ctx interface{}, arg interface{}) *Querier_SetGamePhase_Call
- type Querier_GetGame_Call
- func (_c *Querier_GetGame_Call) Return(_a0 sqlc.Game, _a1 error) *Querier_GetGame_Call
- func (_c *Querier_GetGame_Call) Run(run func(ctx context.Context, id int64)) *Querier_GetGame_Call
- func (_c *Querier_GetGame_Call) RunAndReturn(run func(context.Context, int64) (sqlc.Game, error)) *Querier_GetGame_Call
- type Querier_GetPlayerByUserId_Call
- func (_c *Querier_GetPlayerByUserId_Call) Return(_a0 sqlc.Player, _a1 error) *Querier_GetPlayerByUserId_Call
- func (_c *Querier_GetPlayerByUserId_Call) Run(run func(ctx context.Context, userID string)) *Querier_GetPlayerByUserId_Call
- func (_c *Querier_GetPlayerByUserId_Call) RunAndReturn(run func(context.Context, string) (sqlc.Player, error)) *Querier_GetPlayerByUserId_Call
- type Querier_GetPlayersByGame_Call
- func (_c *Querier_GetPlayersByGame_Call) Return(_a0 []sqlc.Player, _a1 error) *Querier_GetPlayersByGame_Call
- func (_c *Querier_GetPlayersByGame_Call) Run(run func(ctx context.Context, gameID int64)) *Querier_GetPlayersByGame_Call
- func (_c *Querier_GetPlayersByGame_Call) RunAndReturn(run func(context.Context, int64) ([]sqlc.Player, error)) *Querier_GetPlayersByGame_Call
- type Querier_GetRegionsByGame_Call
- func (_c *Querier_GetRegionsByGame_Call) Return(_a0 []sqlc.GetRegionsByGameRow, _a1 error) *Querier_GetRegionsByGame_Call
- func (_c *Querier_GetRegionsByGame_Call) Run(run func(ctx context.Context, id int64)) *Querier_GetRegionsByGame_Call
- func (_c *Querier_GetRegionsByGame_Call) RunAndReturn(run func(context.Context, int64) ([]sqlc.GetRegionsByGameRow, error)) *Querier_GetRegionsByGame_Call
- type Querier_IncreaseRegionTroops_Call
- func (_c *Querier_IncreaseRegionTroops_Call) Return(_a0 error) *Querier_IncreaseRegionTroops_Call
- func (_c *Querier_IncreaseRegionTroops_Call) Run(run func(ctx context.Context, arg sqlc.IncreaseRegionTroopsParams)) *Querier_IncreaseRegionTroops_Call
- func (_c *Querier_IncreaseRegionTroops_Call) RunAndReturn(run func(context.Context, sqlc.IncreaseRegionTroopsParams) error) *Querier_IncreaseRegionTroops_Call
- type Querier_InsertGame_Call
- type Querier_InsertPlayers_Call
- func (_c *Querier_InsertPlayers_Call) Return(_a0 int64, _a1 error) *Querier_InsertPlayers_Call
- func (_c *Querier_InsertPlayers_Call) Run(run func(ctx context.Context, arg []sqlc.InsertPlayersParams)) *Querier_InsertPlayers_Call
- func (_c *Querier_InsertPlayers_Call) RunAndReturn(run func(context.Context, []sqlc.InsertPlayersParams) (int64, error)) *Querier_InsertPlayers_Call
- type Querier_InsertRegions_Call
- func (_c *Querier_InsertRegions_Call) Return(_a0 int64, _a1 error) *Querier_InsertRegions_Call
- func (_c *Querier_InsertRegions_Call) Run(run func(ctx context.Context, arg []sqlc.InsertRegionsParams)) *Querier_InsertRegions_Call
- func (_c *Querier_InsertRegions_Call) RunAndReturn(run func(context.Context, []sqlc.InsertRegionsParams) (int64, error)) *Querier_InsertRegions_Call
- type Querier_SetGamePhase_Call
- func (_c *Querier_SetGamePhase_Call) Return(_a0 error) *Querier_SetGamePhase_Call
- func (_c *Querier_SetGamePhase_Call) Run(run func(ctx context.Context, arg sqlc.SetGamePhaseParams)) *Querier_SetGamePhase_Call
- func (_c *Querier_SetGamePhase_Call) RunAndReturn(run func(context.Context, sqlc.SetGamePhaseParams) error) *Querier_SetGamePhase_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Querier ¶
Querier is an autogenerated mock type for the Querier type
func NewQuerier ¶
NewQuerier creates a new instance of Querier. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Querier) DecreaseDeployableTroops ¶
func (_m *Querier) DecreaseDeployableTroops(ctx context.Context, arg sqlc.DecreaseDeployableTroopsParams) error
DecreaseDeployableTroops provides a mock function with given fields: ctx, arg
func (*Querier) EXPECT ¶
func (_m *Querier) EXPECT() *Querier_Expecter
func (*Querier) ExecuteInTransaction ¶
func (_m *Querier) ExecuteInTransaction(ctx context.Context, txFunc func(db.Querier) (interface{}, error)) (interface{}, error)
ExecuteInTransaction provides a mock function with given fields: ctx, txFunc
func (*Querier) ExecuteInTransactionWithIsolation ¶
func (_m *Querier) ExecuteInTransactionWithIsolation(ctx context.Context, isolationLevel pgx.TxIsoLevel, txFunc func(db.Querier) (interface{}, error)) (interface{}, error)
ExecuteInTransactionWithIsolation provides a mock function with given fields: ctx, isolationLevel, txFunc
func (*Querier) GetPlayerByUserId ¶
GetPlayerByUserId provides a mock function with given fields: ctx, userID
func (*Querier) GetPlayersByGame ¶
GetPlayersByGame provides a mock function with given fields: ctx, gameID
func (*Querier) GetRegionsByGame ¶
func (_m *Querier) GetRegionsByGame(ctx context.Context, id int64) ([]sqlc.GetRegionsByGameRow, error)
GetRegionsByGame provides a mock function with given fields: ctx, id
func (*Querier) IncreaseRegionTroops ¶
func (_m *Querier) IncreaseRegionTroops(ctx context.Context, arg sqlc.IncreaseRegionTroopsParams) error
IncreaseRegionTroops provides a mock function with given fields: ctx, arg
func (*Querier) InsertGame ¶
InsertGame provides a mock function with given fields: ctx
func (*Querier) InsertPlayers ¶
func (_m *Querier) InsertPlayers(ctx context.Context, arg []sqlc.InsertPlayersParams) (int64, error)
InsertPlayers provides a mock function with given fields: ctx, arg
func (*Querier) InsertRegions ¶
func (_m *Querier) InsertRegions(ctx context.Context, arg []sqlc.InsertRegionsParams) (int64, error)
InsertRegions provides a mock function with given fields: ctx, arg
func (*Querier) SetGamePhase ¶
SetGamePhase provides a mock function with given fields: ctx, arg
type Querier_DecreaseDeployableTroops_Call ¶
Querier_DecreaseDeployableTroops_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DecreaseDeployableTroops'
func (*Querier_DecreaseDeployableTroops_Call) Return ¶
func (_c *Querier_DecreaseDeployableTroops_Call) Return(_a0 error) *Querier_DecreaseDeployableTroops_Call
func (*Querier_DecreaseDeployableTroops_Call) Run ¶
func (_c *Querier_DecreaseDeployableTroops_Call) Run(run func(ctx context.Context, arg sqlc.DecreaseDeployableTroopsParams)) *Querier_DecreaseDeployableTroops_Call
func (*Querier_DecreaseDeployableTroops_Call) RunAndReturn ¶
func (_c *Querier_DecreaseDeployableTroops_Call) RunAndReturn(run func(context.Context, sqlc.DecreaseDeployableTroopsParams) error) *Querier_DecreaseDeployableTroops_Call
type Querier_ExecuteInTransactionWithIsolation_Call ¶
Querier_ExecuteInTransactionWithIsolation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteInTransactionWithIsolation'
func (*Querier_ExecuteInTransactionWithIsolation_Call) Return ¶
func (_c *Querier_ExecuteInTransactionWithIsolation_Call) Return(_a0 interface{}, _a1 error) *Querier_ExecuteInTransactionWithIsolation_Call
func (*Querier_ExecuteInTransactionWithIsolation_Call) Run ¶
func (_c *Querier_ExecuteInTransactionWithIsolation_Call) Run(run func(ctx context.Context, isolationLevel pgx.TxIsoLevel, txFunc func(db.Querier) (interface{}, error))) *Querier_ExecuteInTransactionWithIsolation_Call
func (*Querier_ExecuteInTransactionWithIsolation_Call) RunAndReturn ¶
func (_c *Querier_ExecuteInTransactionWithIsolation_Call) RunAndReturn(run func(context.Context, pgx.TxIsoLevel, func(db.Querier) (interface{}, error)) (interface{}, error)) *Querier_ExecuteInTransactionWithIsolation_Call
type Querier_ExecuteInTransaction_Call ¶
Querier_ExecuteInTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteInTransaction'
func (*Querier_ExecuteInTransaction_Call) Return ¶
func (_c *Querier_ExecuteInTransaction_Call) Return(_a0 interface{}, _a1 error) *Querier_ExecuteInTransaction_Call
func (*Querier_ExecuteInTransaction_Call) Run ¶
func (_c *Querier_ExecuteInTransaction_Call) Run(run func(ctx context.Context, txFunc func(db.Querier) (interface{}, error))) *Querier_ExecuteInTransaction_Call
func (*Querier_ExecuteInTransaction_Call) RunAndReturn ¶
func (_c *Querier_ExecuteInTransaction_Call) RunAndReturn(run func(context.Context, func(db.Querier) (interface{}, error)) (interface{}, error)) *Querier_ExecuteInTransaction_Call
type Querier_Expecter ¶
type Querier_Expecter struct {
// contains filtered or unexported fields
}
func (*Querier_Expecter) DecreaseDeployableTroops ¶
func (_e *Querier_Expecter) DecreaseDeployableTroops(ctx interface{}, arg interface{}) *Querier_DecreaseDeployableTroops_Call
DecreaseDeployableTroops is a helper method to define mock.On call
- ctx context.Context
- arg sqlc.DecreaseDeployableTroopsParams
func (*Querier_Expecter) ExecuteInTransaction ¶
func (_e *Querier_Expecter) ExecuteInTransaction(ctx interface{}, txFunc interface{}) *Querier_ExecuteInTransaction_Call
ExecuteInTransaction is a helper method to define mock.On call
- ctx context.Context
- txFunc func(db.Querier)(interface{} , error)
func (*Querier_Expecter) ExecuteInTransactionWithIsolation ¶
func (_e *Querier_Expecter) ExecuteInTransactionWithIsolation(ctx interface{}, isolationLevel interface{}, txFunc interface{}) *Querier_ExecuteInTransactionWithIsolation_Call
ExecuteInTransactionWithIsolation is a helper method to define mock.On call
- ctx context.Context
- isolationLevel pgx.TxIsoLevel
- txFunc func(db.Querier)(interface{} , error)
func (*Querier_Expecter) GetGame ¶
func (_e *Querier_Expecter) GetGame(ctx interface{}, id interface{}) *Querier_GetGame_Call
GetGame is a helper method to define mock.On call
- ctx context.Context
- id int64
func (*Querier_Expecter) GetPlayerByUserId ¶
func (_e *Querier_Expecter) GetPlayerByUserId(ctx interface{}, userID interface{}) *Querier_GetPlayerByUserId_Call
GetPlayerByUserId is a helper method to define mock.On call
- ctx context.Context
- userID string
func (*Querier_Expecter) GetPlayersByGame ¶
func (_e *Querier_Expecter) GetPlayersByGame(ctx interface{}, gameID interface{}) *Querier_GetPlayersByGame_Call
GetPlayersByGame is a helper method to define mock.On call
- ctx context.Context
- gameID int64
func (*Querier_Expecter) GetRegionsByGame ¶
func (_e *Querier_Expecter) GetRegionsByGame(ctx interface{}, id interface{}) *Querier_GetRegionsByGame_Call
GetRegionsByGame is a helper method to define mock.On call
- ctx context.Context
- id int64
func (*Querier_Expecter) IncreaseRegionTroops ¶
func (_e *Querier_Expecter) IncreaseRegionTroops(ctx interface{}, arg interface{}) *Querier_IncreaseRegionTroops_Call
IncreaseRegionTroops is a helper method to define mock.On call
- ctx context.Context
- arg sqlc.IncreaseRegionTroopsParams
func (*Querier_Expecter) InsertGame ¶
func (_e *Querier_Expecter) InsertGame(ctx interface{}) *Querier_InsertGame_Call
InsertGame is a helper method to define mock.On call
- ctx context.Context
func (*Querier_Expecter) InsertPlayers ¶
func (_e *Querier_Expecter) InsertPlayers(ctx interface{}, arg interface{}) *Querier_InsertPlayers_Call
InsertPlayers is a helper method to define mock.On call
- ctx context.Context
- arg []sqlc.InsertPlayersParams
func (*Querier_Expecter) InsertRegions ¶
func (_e *Querier_Expecter) InsertRegions(ctx interface{}, arg interface{}) *Querier_InsertRegions_Call
InsertRegions is a helper method to define mock.On call
- ctx context.Context
- arg []sqlc.InsertRegionsParams
func (*Querier_Expecter) SetGamePhase ¶
func (_e *Querier_Expecter) SetGamePhase(ctx interface{}, arg interface{}) *Querier_SetGamePhase_Call
SetGamePhase is a helper method to define mock.On call
- ctx context.Context
- arg sqlc.SetGamePhaseParams
type Querier_GetGame_Call ¶
Querier_GetGame_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGame'
func (*Querier_GetGame_Call) Return ¶
func (_c *Querier_GetGame_Call) Return(_a0 sqlc.Game, _a1 error) *Querier_GetGame_Call
func (*Querier_GetGame_Call) Run ¶
func (_c *Querier_GetGame_Call) Run(run func(ctx context.Context, id int64)) *Querier_GetGame_Call
func (*Querier_GetGame_Call) RunAndReturn ¶
func (_c *Querier_GetGame_Call) RunAndReturn(run func(context.Context, int64) (sqlc.Game, error)) *Querier_GetGame_Call
type Querier_GetPlayerByUserId_Call ¶
Querier_GetPlayerByUserId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPlayerByUserId'
func (*Querier_GetPlayerByUserId_Call) Return ¶
func (_c *Querier_GetPlayerByUserId_Call) Return(_a0 sqlc.Player, _a1 error) *Querier_GetPlayerByUserId_Call
func (*Querier_GetPlayerByUserId_Call) Run ¶
func (_c *Querier_GetPlayerByUserId_Call) Run(run func(ctx context.Context, userID string)) *Querier_GetPlayerByUserId_Call
func (*Querier_GetPlayerByUserId_Call) RunAndReturn ¶
func (_c *Querier_GetPlayerByUserId_Call) RunAndReturn(run func(context.Context, string) (sqlc.Player, error)) *Querier_GetPlayerByUserId_Call
type Querier_GetPlayersByGame_Call ¶
Querier_GetPlayersByGame_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPlayersByGame'
func (*Querier_GetPlayersByGame_Call) Return ¶
func (_c *Querier_GetPlayersByGame_Call) Return(_a0 []sqlc.Player, _a1 error) *Querier_GetPlayersByGame_Call
func (*Querier_GetPlayersByGame_Call) Run ¶
func (_c *Querier_GetPlayersByGame_Call) Run(run func(ctx context.Context, gameID int64)) *Querier_GetPlayersByGame_Call
func (*Querier_GetPlayersByGame_Call) RunAndReturn ¶
func (_c *Querier_GetPlayersByGame_Call) RunAndReturn(run func(context.Context, int64) ([]sqlc.Player, error)) *Querier_GetPlayersByGame_Call
type Querier_GetRegionsByGame_Call ¶
Querier_GetRegionsByGame_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRegionsByGame'
func (*Querier_GetRegionsByGame_Call) Return ¶
func (_c *Querier_GetRegionsByGame_Call) Return(_a0 []sqlc.GetRegionsByGameRow, _a1 error) *Querier_GetRegionsByGame_Call
func (*Querier_GetRegionsByGame_Call) Run ¶
func (_c *Querier_GetRegionsByGame_Call) Run(run func(ctx context.Context, id int64)) *Querier_GetRegionsByGame_Call
func (*Querier_GetRegionsByGame_Call) RunAndReturn ¶
func (_c *Querier_GetRegionsByGame_Call) RunAndReturn(run func(context.Context, int64) ([]sqlc.GetRegionsByGameRow, error)) *Querier_GetRegionsByGame_Call
type Querier_IncreaseRegionTroops_Call ¶
Querier_IncreaseRegionTroops_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncreaseRegionTroops'
func (*Querier_IncreaseRegionTroops_Call) Return ¶
func (_c *Querier_IncreaseRegionTroops_Call) Return(_a0 error) *Querier_IncreaseRegionTroops_Call
func (*Querier_IncreaseRegionTroops_Call) Run ¶
func (_c *Querier_IncreaseRegionTroops_Call) Run(run func(ctx context.Context, arg sqlc.IncreaseRegionTroopsParams)) *Querier_IncreaseRegionTroops_Call
func (*Querier_IncreaseRegionTroops_Call) RunAndReturn ¶
func (_c *Querier_IncreaseRegionTroops_Call) RunAndReturn(run func(context.Context, sqlc.IncreaseRegionTroopsParams) error) *Querier_IncreaseRegionTroops_Call
type Querier_InsertGame_Call ¶
Querier_InsertGame_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertGame'
func (*Querier_InsertGame_Call) Return ¶
func (_c *Querier_InsertGame_Call) Return(_a0 int64, _a1 error) *Querier_InsertGame_Call
func (*Querier_InsertGame_Call) Run ¶
func (_c *Querier_InsertGame_Call) Run(run func(ctx context.Context)) *Querier_InsertGame_Call
func (*Querier_InsertGame_Call) RunAndReturn ¶
func (_c *Querier_InsertGame_Call) RunAndReturn(run func(context.Context) (int64, error)) *Querier_InsertGame_Call
type Querier_InsertPlayers_Call ¶
Querier_InsertPlayers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertPlayers'
func (*Querier_InsertPlayers_Call) Return ¶
func (_c *Querier_InsertPlayers_Call) Return(_a0 int64, _a1 error) *Querier_InsertPlayers_Call
func (*Querier_InsertPlayers_Call) Run ¶
func (_c *Querier_InsertPlayers_Call) Run(run func(ctx context.Context, arg []sqlc.InsertPlayersParams)) *Querier_InsertPlayers_Call
func (*Querier_InsertPlayers_Call) RunAndReturn ¶
func (_c *Querier_InsertPlayers_Call) RunAndReturn(run func(context.Context, []sqlc.InsertPlayersParams) (int64, error)) *Querier_InsertPlayers_Call
type Querier_InsertRegions_Call ¶
Querier_InsertRegions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertRegions'
func (*Querier_InsertRegions_Call) Return ¶
func (_c *Querier_InsertRegions_Call) Return(_a0 int64, _a1 error) *Querier_InsertRegions_Call
func (*Querier_InsertRegions_Call) Run ¶
func (_c *Querier_InsertRegions_Call) Run(run func(ctx context.Context, arg []sqlc.InsertRegionsParams)) *Querier_InsertRegions_Call
func (*Querier_InsertRegions_Call) RunAndReturn ¶
func (_c *Querier_InsertRegions_Call) RunAndReturn(run func(context.Context, []sqlc.InsertRegionsParams) (int64, error)) *Querier_InsertRegions_Call
type Querier_SetGamePhase_Call ¶
Querier_SetGamePhase_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetGamePhase'
func (*Querier_SetGamePhase_Call) Return ¶
func (_c *Querier_SetGamePhase_Call) Return(_a0 error) *Querier_SetGamePhase_Call
func (*Querier_SetGamePhase_Call) Run ¶
func (_c *Querier_SetGamePhase_Call) Run(run func(ctx context.Context, arg sqlc.SetGamePhaseParams)) *Querier_SetGamePhase_Call
func (*Querier_SetGamePhase_Call) RunAndReturn ¶
func (_c *Querier_SetGamePhase_Call) RunAndReturn(run func(context.Context, sqlc.SetGamePhaseParams) error) *Querier_SetGamePhase_Call