cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CORE_DIR      = "core"
	WAREHOUSE_DIR = "data"
	PLAYBYPLAY    = "playbyplay.json"
	SCHEDULE      = "schedule.json"
)
View Source
const (
	NBAC_DATE_FORMAT = "20060102"
	PARQUET_EXT      = ".parquet"
	PLAYERS_PREFIX   = "players"
	GAMES_PREFIX     = "games"
	LEADERS_PREFIX   = "leaders"
	STANDINGS_PREFIX = "standings"
)
View Source
const (
	DEFAULT_REDIS_HOST     = "127.0.0.1"
	DEFAULT_REDIS_PORT     = "6379"
	DEFAULT_REDIS_PROTOCOL = "tcp"
)
View Source
const (
	HSET = "HSET"
	SADD = "SADD"
)
View Source
const (
	KEY_SEASON = "season:%s"
	KEY_TEAM   = "team:%s:%s"
	KEY_PLAYER = "player:%s:%s"
	KEY_GAME   = "game:%s:%s"
)
View Source
const (
	APP_VERSION  = "0.1"
	DEFAULT_PATH = "."
	PBP_SUFFIX   = "playbyplay"
	LOCALE_EST   = "EST"
)
View Source
const (
	FROM_SEASON_BEGIN = ""
	STR_EMPTY         = ""
	STR_INDENT        = "  "
)
View Source
const (
	EXT_JSON = ".json"
)
View Source
const (
	SCHEDULE_FILENAME = "schedule.json"
)
View Source
const (
	TARGET_REDIS = "redis"
)

Variables

Functions

func Execute

func Execute() error

func ScheduleEndpoint added in v0.2.0

func ScheduleEndpoint() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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