services

package
v0.0.0-...-9450479 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MigrationService

type MigrationService struct {
	MySQLRepo    *db.MySQLRepository
	PostgresRepo *db.PostgresRepository
	Concurrency  int
}

func NewMigrationService

func NewMigrationService(mysqlRepo *db.MySQLRepository, pgRepo *db.PostgresRepository, concurrency int) *MigrationService

func (*MigrationService) Migrate

func (s *MigrationService) Migrate(ctx context.Context, tableConfig config.TableConfig) error

Jump to

Keyboard shortcuts

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