package
0.2.1
Repository: https://github.com/ecshreve/jepp.git
Documentation: pkg.go.dev

# Functions

CountClues returns the number of clues in the database.
GetCategories returns all categories in the database.
GetCategoriesForGame returns all categories for a given game.
GetCategory returns the category with the given ID.
No description provided by the author
GetCategoryClueCount returns the number of clues a category has appeared in.
GetCategoryGameCount returns the number of games a category has appeared in.
GetClue returns a single clue from the database.
ListClues returns a list of clues in the database, defaults to returning values ordered by game id descending.
GetGame returns a single game from the database.
GetGames returns a list of games in the database, defaults to returning values ordered by game date, with most recent first, limited to 100 results.
GetGamesBySeason returns a list of games in the database for a given season.
GetRandomCategory returns a single category from the database.
GetRandomCategoryMany returns `limit` random categories from the database.
GetClue returns a single clue from the database.
GetRandomClueMany returns `limit` random clues from the database.
GetRandomGame returns a single game from the database.
GetRandomGameMany returns `limit` random games from the database.
GetSeasons returns a list of seasons in the database, defaults to returning values ordered by season id, with most recent first.
InsertCategory inserts a category into the database.
InsertClue inserts a clue into the database.
InsertGame inserts a game into the database.
InsertSeason inserts a season into the database.
No description provided by the author
No description provided by the author
UpdateCategory updates a category in the database.
UpdateClue updates a category in the database.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
TIME_FORMAT is the format used for friendly date strings.

# Variables

No description provided by the author

# Structs

Category represents a jeopardy category in the database.
Clue represents a jeopardy clue in the database.
No description provided by the author
Game represents a single game of Jeopardy.
No description provided by the author
No description provided by the author

# Type aliases

TODO: this is silly, should fix it.