Documentation ¶ Overview ¶ Repositories contains a generic interface for interacting with repositories of data. Repositories may sit within their own packages, and may also be a "datasource". Index ¶ func CreateTables(ctx context.Context, db *sql.DB) (err error) type Repository Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CreateTables ¶ func CreateTables(ctx context.Context, db *sql.DB) (err error) Types ¶ type Repository ¶ type Repository interface { CreateTables(ctx context.Context, sqlDB *sql.DB) error Name() string } Source Files ¶ View all Source files doc.go repository.go Click to show internal directories. Click to hide internal directories.