tool

package
v0.0.0-...-394a65f Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	// contains filtered or unexported fields
}

Data transform existing data to the new format and move them to the correct location.

func NewData

func NewData(
	dbConfig db.Config,
	dbConnector db.Connector,
	keyGen keygen.KeyGenerator,
	logger logger.Logger,
) (Data, error)

NewData creates data manage

func (Data) EmailToID

func (d Data) EmailToID(batchSize int)

EmailToID generates IDs for users and changes DB tables reference those IDs.

Jump to

Keyboard shortcuts

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