repositories

package
v0.110.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

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

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL