mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-14 22:35:36 +01:00
16 lines
217 B
Go
16 lines
217 B
Go
package main
|
|
|
|
import (
|
|
"github.com/astaxie/beego"
|
|
"github.com/vmware/harbor/dao"
|
|
"github.com/vmware/harbor/job"
|
|
)
|
|
|
|
func main() {
|
|
dao.InitDB()
|
|
initRouters()
|
|
job.InitWorkerPool()
|
|
go job.Dispatch()
|
|
beego.Run()
|
|
}
|