Documentation ¶
Index ¶
- func AddGame(w http.ResponseWriter, r *http.Request)
- func AddGameSystem(w http.ResponseWriter, r *http.Request)
- func DeleteGame(w http.ResponseWriter, r *http.Request)
- func EditGame(w http.ResponseWriter, r *http.Request)
- func ListGames(w http.ResponseWriter, r *http.Request)
- func ShowEditGame(w http.ResponseWriter, r *http.Request)
- func ShowGame(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGameSystem ¶
func AddGameSystem(w http.ResponseWriter, r *http.Request)
Add a new game system to the db
func DeleteGame ¶
func DeleteGame(w http.ResponseWriter, r *http.Request)
Fetch a single game from the db and call the edit game template
func EditGame ¶
func EditGame(w http.ResponseWriter, r *http.Request)
Update a single game in the db TODO: Implement me
func ListGames ¶
func ListGames(w http.ResponseWriter, r *http.Request)
Receive all games from the db and call the game list template
func ShowEditGame ¶
func ShowEditGame(w http.ResponseWriter, r *http.Request)
Fetch a single game from the db and call the edit game template
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.