command

package
v0.0.0-...-7f730dc Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	SetFlags(*flag.FlagSet, map[string]*string)
	Execute(map[string]*string)
}

Command is the interface that all commands must conform to

type ExtractWeatherLink struct {
	// contains filtered or unexported fields
}

ExtractWeatherLink contains information to extract weather linking data

from Baseball Savant data

func (*ExtractWeatherLink) Execute

func (ewl *ExtractWeatherLink) Execute(cmdMap map[string]*string)

Execute runs the functionality that produces the data needed

func (*ExtractWeatherLink) SetFlags

func (ewl *ExtractWeatherLink) SetFlags(fs *flag.FlagSet, cmdMap map[string]*string)

SetFlags creates the flags that are needed for this functionality

type GetGamedayGames

type GetGamedayGames struct {
	// contains filtered or unexported fields
}

GetGamedayGames contains information used to get the gameday

data from the MLB website

func (*GetGamedayGames) Execute

func (ggg *GetGamedayGames) Execute(cmdMap map[string]*string)

Execute runs the functionality that produces the data needed

func (*GetGamedayGames) SetFlags

func (ggg *GetGamedayGames) SetFlags(fs *flag.FlagSet, cmdMap map[string]*string)

SetFlags creates the flags that are needed for this functionality

type GetSavantGames

type GetSavantGames struct {
	// contains filtered or unexported fields
}

GetSavantGames contains information used to get the Baseball Savant

data from the Baseball Savant website

func (*GetSavantGames) Execute

func (gsg *GetSavantGames) Execute(cmdMap map[string]*string)

Execute runs the functionality that produces the data needed

func (*GetSavantGames) SetFlags

func (gsg *GetSavantGames) SetFlags(fs *flag.FlagSet, cmdMap map[string]*string)

SetFlags creates the flags that are needed for this functionality

type LoadGamedayData

type LoadGamedayData struct {
	// contains filtered or unexported fields
}

LoadGamedayData contains information to save

Baseball Savant data

func (*LoadGamedayData) Execute

func (ewl *LoadGamedayData) Execute(cmdMap map[string]*string)

Execute runs the functionality that produces the data needed

func (*LoadGamedayData) SetFlags

func (ewl *LoadGamedayData) SetFlags(fs *flag.FlagSet, cmdMap map[string]*string)

SetFlags creates the flags that are needed for this functionality

type LoadSavantData

type LoadSavantData struct {
	// contains filtered or unexported fields
}

LoadSavantData contains information to save

Baseball Savant data

func (*LoadSavantData) Execute

func (ewl *LoadSavantData) Execute(cmdMap map[string]*string)

Execute runs the functionality that produces the data needed

func (*LoadSavantData) SetFlags

func (ewl *LoadSavantData) SetFlags(fs *flag.FlagSet, cmdMap map[string]*string)

SetFlags creates the flags that are needed for this functionality

Jump to

Keyboard shortcuts

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