auth: comment out dal.Init() in main function
This commit is contained in:
+3
-3
@@ -1,11 +1,11 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
consul "github.com/kitex-contrib/registry-consul"
|
||||
"github.com/suyiiyii/hertz101/app/auth/biz/dal"
|
||||
"net"
|
||||
"time"
|
||||
|
||||
consul "github.com/kitex-contrib/registry-consul"
|
||||
|
||||
"github.com/cloudwego/kitex/pkg/klog"
|
||||
"github.com/cloudwego/kitex/pkg/rpcinfo"
|
||||
"github.com/cloudwego/kitex/server"
|
||||
@@ -17,7 +17,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
dal.Init()
|
||||
// dal.Init()
|
||||
opts := kitexInit()
|
||||
|
||||
svr := authservice.NewServer(new(AuthServiceImpl), opts...)
|
||||
|
||||
Reference in New Issue
Block a user