mocks

package
v0.0.0-...-4af8f9e Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPlayerRepository

type IPlayerRepository struct {
	mock.Mock
}

IPlayerRepository is an autogenerated mock type for the IPlayerRepository type

func (*IPlayerRepository) GetPlayerByName

func (_m *IPlayerRepository) GetPlayerByName(name string) (*models.Player, error)

GetPlayerByName provides a mock function with given fields: name

type IPlayerService

type IPlayerService struct {
	mock.Mock
}

IPlayerService is an autogenerated mock type for the IPlayerService type

func (*IPlayerService) GetScores

func (_m *IPlayerService) GetScores(ctx context.Context, player1Name string, player2Name string) (string, error)

GetScores provides a mock function with given fields: ctx, player1Name, player2Name

Jump to

Keyboard shortcuts

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