Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func Open ¶
func Open(db string) (*Repository, error)
func (*Repository) Close ¶
func (r *Repository) Close()
func (*Repository) DB ¶
func (r *Repository) DB() *sql.DB
func (*Repository) InsertGame ¶
func (r *Repository) InsertGame(g *Game) error
func (*Repository) InsertGames ¶
func (r *Repository) InsertGames(gs []*Game) error
Click to show internal directories.
Click to hide internal directories.