Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDatabaseIfDoesNotExist ¶
alt to gorm for DB creation since gorm only does ORM
Types ¶
type DatabaseConnx ¶
type DatabaseConnx struct {
// contains filtered or unexported fields
}
func CreateNewDatabaseConnx ¶
func CreateNewDatabaseConnx(hostName, uname, password, dbName, port, timezone string) (DatabaseConnx, error)
func (*DatabaseConnx) CreateJeopardyGameBoxScoreTable ¶
func (d *DatabaseConnx) CreateJeopardyGameBoxScoreTable() error
func (*DatabaseConnx) GetMostRecentEpisodeNumber ¶
func (d *DatabaseConnx) GetMostRecentEpisodeNumber() (string, error)
func (*DatabaseConnx) SaveJeopardyGameBoxScore ¶
func (d *DatabaseConnx) SaveJeopardyGameBoxScore(scores []model.JeopardyGameBoxScore) error
Click to show internal directories.
Click to hide internal directories.