918f1a6bf22958c091cae4e64225f5e5fa3cf55d
[iec.git] / src / foundation / api / apiserver / app / tmp / main.go
1 // GENERATED CODE - DO NOT EDIT
2 // This file is the main file for Revel.
3 // It registers all the controllers and provides details for the Revel server engine to
4 // properly inject parameters directly into the action endpoints.
5 package main
6
7 import (
8         "flag"
9         "apiserver/app/tmp/run"
10         "github.com/revel/revel"
11 )
12
13 var (
14         runMode    *string = flag.String("runMode", "", "Run mode.")
15         port       *int    = flag.Int("port", 0, "By default, read from app.conf")
16         importPath *string = flag.String("importPath", "", "Go Import Path for the app.")
17         srcPath    *string = flag.String("srcPath", "", "Path to the source root.")
18
19 )
20
21 func main() {
22         flag.Parse()
23         revel.Init(*runMode, *importPath, *srcPath)
24         run.Run(*port)
25 }