Commit d245da21 by 孙龙

init

parent d9d564a1
Showing with 3 additions and 6 deletions
......@@ -2,15 +2,13 @@ package main
import (
"flag"
"fmt"
"github.com/ichunt2019/cfg/lib"
"ichunt_golang/boot"
"ichunt_golang/util/regist_etcd"
"os"
"os/signal"
"syscall"
"ichunt_golang/router"
"ichunt_golang/boot"
"ichunt_golang/util/regist_etcd"
)
var (
configPath string
......@@ -22,8 +20,7 @@ func main(){
flag.Parse()
boot.Init(configPath,logPath)
fmt.Println(lib.Instance("proxy").GetString("micro_service_name"))
go func() {
router.HttpServerRun()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment