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 AnonymiseData(ctx context.Context, db *sql.DB, orgs []string) (err error) func CreateTables(ctx context.Context, db *sql.DB) (err error) type Repository Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AnonymiseData ¶ func AnonymiseData(ctx context.Context, db *sql.DB, orgs []string) (err error) 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 AnonymiseData(ctx context.Context, sqlDB *sql.DB, orgs []string) (err error) } Source Files ¶ View all Source files anonymise.go doc.go repository.go Click to show internal directories. Click to hide internal directories.