Documentation ¶
Index ¶
Constants ¶
View Source
const SQLMigrationsDir = "migrations"
Variables ¶
View Source
var ( ErrTxNotFound = errors.New("Transaction not found") ErrMultipleTxFound = errors.New("Multiple transactions found") )
View Source
var EmbedMigrations embed.FS
Functions ¶
func DropAllTablesAndViews ¶ added in v0.58.0
Types ¶
type Config ¶
type Config struct {
Postgres config.PostgresConnection `group:"database" namespace:"postgres"`
}
func NewDefaultConfig ¶
func NewDefaultConfig() Config
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) GetTransaction ¶ added in v0.58.0
Click to show internal directories.
Click to hide internal directories.