cmd

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2025 License: MIT Imports: 186 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 // shortcut
)

Functions

func CheckAlgList added in v0.12.0

func CheckAlgList()

func DoneSQL added in v0.11.0

func DoneSQL() (err error)

func Execute

func Execute() error

Execute executes the root command.

func FormatGameInfo added in v0.5.0

func FormatGameInfo(gi *game.GameInfo) string

func InitSQL added in v0.11.0

func InitSQL() (err error)

func InitSpinlog

func InitSpinlog() (err error)

func InitStorage

func InitStorage() (err error)

func LoadExternalYaml added in v0.11.0

func LoadExternalYaml(ctx context.Context) (err error)

Load data from extermal yaml files.

func LoadInternalYaml added in v0.11.0

func LoadInternalYaml(ctx context.Context)

Load data from embed yaml chunks.

func SqlLoop added in v0.3.0

func SqlLoop(exitctx context.Context)

func Startup added in v0.3.0

func Startup() (exitctx context.Context)

func UpdateAlgList added in v0.11.0

func UpdateAlgList()

Types

This section is empty.

Jump to

Keyboard shortcuts

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