package main type Games struct { db DB } func NewGames(db DB) Games { return Games{db: db} }