package
Version:
v0.0.0-...-5a82cd8
Opens a new window with list of versions in this module.
Published: Sep 24, 2020
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Board struct {
ID primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
Name string `json:"name"`
Entries []Score `json:"entries"`
}
type Score struct {
ID primitive.ObjectID `bson:"_id,omitempty" json:"_id,omitempty"`
BoardId string `bson:"board_id" json:"board_id"`
Score int `json:"score"`
ScoredAt time.Time `json:"scored_at"`
UserId string `bson:"user_id" json:"user_id"`
}
type ScoreToAdd struct {
Score int `json:"score_to_add"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.