league

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type League

type League struct {
	ID   string
	Name string
}

type LeagueUpdate

type LeagueUpdate struct {
	Name string
}

type Service

type Service interface {
	UpdateLeagues(ctx context.Context, leagueUpdates []LeagueUpdate) ([]League, error)
}

func NewService

func NewService(leagueStore Store) Service

type Store

type Store interface {
	UpdateLeagues(ctx context.Context, leagueUpdates []LeagueUpdate) ([]League, error)
}

Jump to

Keyboard shortcuts

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