Versions in this module Expand all Collapse all v0 v0.1.1 Oct 25, 2026 v0.1.0 Oct 12, 2026 Changes in this version + func Main(cfg Config) + type App struct + func New(cfg Config, db *sql.DB) *App + func (a *App) Command(cmd Command) + func (a *App) DB() *sql.DB + func (a *App) Every(name string, interval time.Duration, run func(context.Context) error) + func (a *App) Log() *slog.Logger + func (a *App) Name() string + func (a *App) Require(m Migrations) error + func (a *App) Serve(s web.Server) + func (a *App) SetLogger(l *slog.Logger) + type Command struct + Help string + Name string + Run func(ctx context.Context, args []string) error + Usage string + type Config struct + DatabaseURL string + Migrations []Migrations + Name string + Setup func(ctx context.Context, a *App) error + type Migrations struct + Files fs.FS + Namespace string