Documentation ¶
Index ¶
- type MigrateService
- func (m *MigrateService) All(ctx context.Context) error
- func (m *MigrateService) MigrateProblemCounter(ctx context.Context) error
- func (m *MigrateService) MigrateProblemTags(ctx context.Context) error
- func (m *MigrateService) MigrateUserEmail(ctx context.Context) error
- func (m *MigrateService) MigrateUserSubmissions(ctx context.Context) error
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) 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
Click to show internal directories.
Click to hide internal directories.