# Functions
NewDBGetter creates a new DBGetter instance with the specified database configuration.
No description provided by the author
NewMigrationRunner creates a new MigrationRunner with the given database connection string (dsn) and options.
NewMockDBContextGetter creates a new mock instance.
NewMockTrxContextGetter creates a new mock instance.
RunMigrationsFromEnv reads migration configuration from environment variables, creates a MigrationRunner, and runs the specified migration operation.
WithFilesDir sets a custom directory containing migration files for the MigrationRunner.
WithLogger sets a custom logger for the MigrationRunner.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
DBConfig represents the configuration for a database connection.
No description provided by the author
DBGetter implements the DBContextGetter interface, allowing retrieval of a read/write database connection.
MigrationRunner is responsible for managing and running database migrations.
MockDBContextGetter is a mock of DBContextGetter interface.
MockDBContextGetterMockRecorder is the mock recorder for MockDBContextGetter.
MockTrxContextGetter is a mock of TrxContextGetter interface.
MockTrxContextGetterMockRecorder is the mock recorder for MockTrxContextGetter.
OperationData contains information about the migration operation to be performed.
# Interfaces
No description provided by the author
No description provided by the author