dbpg

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Org             string
	AuthToken       string
	DbUrl           string
	AnalyticsBucket string
}

type DbConfig

type DbConfig struct {
	DbUser             string
	DbPassword         string
	DbHost             string
	DbPort             int
	DbName             string
	MigrationSourceURL string
	DbInsecure         bool
	AwsRegion          string
}

type Service

type Service interface {
	domain.MarketRepository
	Close() error
	CreateLoader(fixturesPath string) error
	LoadFixtures() error
}

func New

func New(dbConfig DbConfig) (Service, error)

Directories

Path Synopsis
sqlc

Jump to

Keyboard shortcuts

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