impl

package
v0.0.0-...-cdffa6e Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MatchUseCase

type MatchUseCase struct {
	Repository repository.Match
}

func NewMatchUseCase

func NewMatchUseCase(repository repository.Match) *MatchUseCase

func (*MatchUseCase) Create

func (m *MatchUseCase) Create(ctx context.Context, name string) (*models.Match, error)

func (*MatchUseCase) GetById

func (m *MatchUseCase) GetById(ctx context.Context, id string) (*models.Match, error)

func (*MatchUseCase) GetByName

func (m *MatchUseCase) GetByName(ctx context.Context, name string) (*models.Match, error)

Jump to

Keyboard shortcuts

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