migrater

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IMigrate

type IMigrate[Options any] interface {
	Copy(mOpts *Options, cbOpts *option.Options, copyIndexes bool, bufferSize int) error
}

func NewMigrator

func NewMigrator[T any, Options any](source common.ISource[T, Options], destination common.IDestination, analyzer common.Analyzer[T]) IMigrate[Options]

type Migrate

type Migrate[T any, Options any] struct {
	Source      common.ISource[T, Options]
	Analyzer    common.Analyzer[T]
	Destination common.IDestination
}

func (Migrate[T, Options]) Copy

func (m Migrate[T, Options]) Copy(mOpts *Options, cbOpts *option.Options, copyIndexes bool, bufferSize int) error

Jump to

Keyboard shortcuts

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