game_referee

package
v0.0.0-...-5888283 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GameReferee

type GameReferee struct {
	GameID     string
	RefereeID  string
	Assignment string
	CreatedAt  time.Time
	UpdatedAt  *time.Time
}

type GameRefereeUpdate

type GameRefereeUpdate struct {
	NBAGameID    string
	NBARefereeID int
	Assignment   string
}

type Service

type Service interface {
	UpdateGameReferees(ctx context.Context, gameRefereeUpdates []GameRefereeUpdate) error
}

func NewService

func NewService(gameRefereeStore Store) Service

type Store

type Store interface {
	UpdateGameReferees(ctx context.Context, gameRefereeUpdates []GameRefereeUpdate) ([]GameReferee, error)
}

Jump to

Keyboard shortcuts

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