mysql2postgres

package
v1.2.23 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2026 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migrate

func Migrate(ctx context.Context, cfg Config) error

func Run

func Run(ctx context.Context, args []string) error

Types

type Config

type Config struct {
	MySQLDSN    string
	PostgresDSN string
	Schema      string
	Tables      string
	Exclude     string
	Truncate    bool
	Yes         bool
	DryRun      bool
	BatchSize   int
}

func DefaultConfig

func DefaultConfig() Config

func ParseFlags

func ParseFlags(args []string) (Config, error)

Jump to

Keyboard shortcuts

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