cmd

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 75 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoClubName = errors.New("name of 'club' database does not provided at data source name")
	ErrNoSpinName = errors.New("name of 'spin' database does not provided at data source name")
)
View Source
var (
	Cfg = cfg.Cfg
)

Functions

func Done added in v0.3.0

func Done() (err error)

func Execute

func Execute() error

Execute executes the root command.

func FormatGameInfo added in v0.5.0

func FormatGameInfo(gi *game.GameInfo, ai int) string

func Include added in v0.5.0

func Include(gi *game.GameInfo) bool

func Init

func Init() (err error)

func InitSpinlog

func InitSpinlog() (err error)

func InitStorage

func InitStorage() (err error)

func SqlLoop added in v0.3.0

func SqlLoop(exitctx context.Context)

func Startup added in v0.3.0

func Startup() (exitctx context.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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