Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Username string Password string Host string Port string DBName string SSL bool RunMigrations bool }
Config is a configuration object for postgres repos
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
Repository is a postgres implementation of repository
func NewRepository ¶
func NewRepository(config Config) (Repository, error)
NewRepository creates a new postgres repository
Click to show internal directories.
Click to hide internal directories.