setupseason

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupSeason

func SetupSeason(ctx *Context) error

func SplitWeek

func SplitWeek(ctx *Context) error

Types

type Context

type Context struct {
	context.Context

	DryRun          bool
	Force           bool
	FirestoreClient *fs.Client
	ApiKey          string
	Season          int
	Weeks           []int
	SplitWeek       int
	SplitTimeFrom   time.Time
	SplitTimeTo     time.Time
	NewWeekNumber   int
}

func NewContext

func NewContext(ctx context.Context) *Context

Jump to

Keyboard shortcuts

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