got a exporter for forecasting

This commit is contained in:
samantha42
2026-03-21 18:42:54 +01:00
parent 6c5b4bae67
commit 8a8a64c8af
6 changed files with 259 additions and 1 deletions

View File

@@ -253,3 +253,5 @@ func (r *BudgetRepo) List(
}
return out, rows.Err()
}
func (r *BudgetRepo) DB() *sql.DB { return r.db }

View File

@@ -0,0 +1,13 @@
package database
import "database/sql"
type ForecastRepo struct {
db *sql.DB
}
func NewForecastRepo(db *sql.DB) *ForecastRepo {
return &ForecastRepo{
db: db,
}
}