|
@@ -2,6 +2,7 @@ package main
|
|
|
|
|
|
import (
|
|
|
"flag"
|
|
|
+ "gitdxz.51daxuetong.cn/go_dev/bids_rpcx/config"
|
|
|
"gitdxz.51daxuetong.cn/go_dev/bids_rpcx/service"
|
|
|
"github.com/smallnest/rpcx/server"
|
|
|
)
|
|
@@ -12,7 +13,7 @@ var (
|
|
|
|
|
|
func main() {
|
|
|
flag.Parse()
|
|
|
- //config.Init()
|
|
|
+ config.Init()
|
|
|
//fmt.Println(config.GetConfig().All())
|
|
|
s := server.NewServer()
|
|
|
s.Register(new(service.BidsSvc), "")
|