migrate

package
v0.0.0-...-f3f7f80 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MigrateService

type MigrateService struct {
	Db    *sql.DB
	Redis *redis.RedisService
}

func DefaultMigrateService

func DefaultMigrateService(db *sql.DB, redis *redis.RedisService) *MigrateService

func (*MigrateService) All

func (m *MigrateService) All(ctx context.Context) error

func (*MigrateService) MigrateProblemCounter

func (m *MigrateService) MigrateProblemCounter(ctx context.Context) error

func (*MigrateService) MigrateProblemTags

func (m *MigrateService) MigrateProblemTags(ctx context.Context) error

func (*MigrateService) MigrateUserEmail

func (m *MigrateService) MigrateUserEmail(ctx context.Context) error

func (*MigrateService) MigrateUserSubmissions

func (m *MigrateService) MigrateUserSubmissions(ctx context.Context) error

Jump to

Keyboard shortcuts

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