19 lines
299 B
Go
Executable File
19 lines
299 B
Go
Executable File
package main
|
|
|
|
import (
|
|
"oc-catalog/infrastructure"
|
|
_ "oc-catalog/routers"
|
|
|
|
oclib "cloud.o-forge.io/core/oc-lib"
|
|
beego "github.com/beego/beego/v2/server/web"
|
|
)
|
|
|
|
const appname = "oc-catalog"
|
|
|
|
func main() {
|
|
// Init the oc-lib
|
|
oclib.InitAPI(appname)
|
|
go infrastructure.ListenNATS()
|
|
beego.Run()
|
|
}
|