Categorygithub.com/flachnetz/startup/startup_postgres
modulepackage
1.1.8
Repository: https://github.com/flachnetz/startup.git
Documentation: pkg.go.dev

# Functions

Puts a transaction into a context and returns the new context with the transaction.
Creates an Initializer that performs a database migration by looking for sql files in the default directories.
No description provided by the author
No description provided by the author
Runs a migration with the sql files from the given directory.
No description provided by the author
Gets the current transaction from the context or nil, if the context does not contain a transaction.
Ends the given transaction.
No description provided by the author
Calls the given operation with the transaction that is currently stored in the context.

# Variables

No description provided by the author
Creates a new transaction, puts it into the context and runs the given operation with the context and the transaction.

# Structs

No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author