2024-08-12 14:12:51 +02:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
_ "oc-shared/routers"
|
|
|
|
|
|
|
|
oclib "cloud.o-forge.io/core/oc-lib"
|
|
|
|
beego "github.com/beego/beego/v2/server/web"
|
|
|
|
)
|
|
|
|
|
2024-09-04 16:33:21 +02:00
|
|
|
const appname = "oc-shared"
|
2024-08-12 14:12:51 +02:00
|
|
|
|
|
|
|
func main() {
|
2024-09-04 16:33:21 +02:00
|
|
|
// Init the oc-lib
|
|
|
|
oclib.Init(appname)
|
2024-08-12 14:12:51 +02:00
|
|
|
beego.Run()
|
|
|
|
}
|