Back to

Package task

Latest Go to latest

The latest major version is .

Published: Oct 1, 2020 | License: MIT | Module:


func CreateMigrateTask

func CreateMigrateTask(doer, u *models.User, opts base.MigrateOptions) (*models.Task, error)

CreateMigrateTask creates a migrate task

func Init

func Init() error

Init will start the service to get all unfinished tasks and run them

func MigrateRepository

func MigrateRepository(doer, u *models.User, opts base.MigrateOptions) error

MigrateRepository add migration repository to task

func Run

func Run(t *models.Task) error

Run a task

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier