diff options
author | Zhaoxing Meng <meng.zhaoxing1@zte.com.cn> | 2018-07-14 06:28:26 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-07-14 06:28:26 +0000 |
commit | 651367525a450768565336258c283c395adcc5eb (patch) | |
tree | 65521b7a93e700e7b496087de8fb75011a1fdf2f /msb2pilot2/routers/router.go | |
parent | 2c6426336be4251d5ac3461de4708aa10da43805 (diff) | |
parent | f5da888617ad7b436b8019cf649d759f99e07d35 (diff) |
Merge "Initial commit for msb2pilot"
Diffstat (limited to 'msb2pilot2/routers/router.go')
-rw-r--r-- | msb2pilot2/routers/router.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/msb2pilot2/routers/router.go b/msb2pilot2/routers/router.go new file mode 100644 index 0000000..952ced3 --- /dev/null +++ b/msb2pilot2/routers/router.go @@ -0,0 +1,10 @@ +package routers + +import ( + "msb2pilot2/controllers" + "github.com/astaxie/beego" +) + +func init() { + beego.Router("/", &controllers.MainController{}) +} |