Discover Packages
github.com/conteggio/contegg.io
graph
customTypes
package
Version:
v0.0.0-...-3bf928b
Opens a new window with list of versions in this module.
Published: Jan 13, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type CreateGame struct {
BggID *int
Name string
}
type CreatePlay struct {
GameID int `json:"gameId"`
}
type CreatePlayer struct {
Name string `json:"name"`
}
type CreatePlayerPlay struct {
PlayerID int `json:"playerId"`
PlayID int `json:"playId"`
Score *float64 `json:"score"`
}
type CreateSession struct {
PlayID int `json:"playId"`
GameBelongsToID *int `json:"gameBelongsToId"`
}
type GetPlayerPlay struct {
PlayerID int `json:"playerId"`
PlayID int `json:"playId"`
}
type UpdateGame struct {
ID int `json:"id"`
BggID *int `json:"bggId"`
Name *string `json:"name"`
Description *string `json:"description"`
}
type UpdatePlayer struct {
ID int `json:"id"`
Name *string `json:"name"`
}
type UpdatePlayerPlay struct {
PlayerID int `json:"playerId"`
PlayID int `json:"playId"`
Score *float64 `json:"score"`
}
type UpdateSession struct {
ID int `json:"id"`
GameBelongsToID *int `json:"gameBelongsToId"`
StartedAt *time .Time `json:"startedAt"`
FinishedAt *time .Time `json:"finishedAt"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.