Skip to content
Snippets Groups Projects
Commit 6342e7cd authored by ztelur's avatar ztelur
Browse files

remove time.format and replace local relative path dependency

parent 81aafe45
No related branches found
No related tags found
No related merge requests found
......@@ -107,9 +107,9 @@ func NewClient(url *common.URL) (*Client, error) {
grpc.MaxCallRecvMsgSize(1024*1024*maxMessageSize),
grpc.MaxCallSendMsgSize(1024*1024*maxMessageSize)))
logger.Infof("begin grpc dail:%s, begin time: %s ", url, time.Now().Format("2006-01-02 15:04:05.000"))
logger.Infof("begin grpc dail:%s, begin time: %s ", url, time.Now())
conn, err := grpc.Dial(url.Location, dialOpts...)
logger.Infof("end grpc dail: dail:%s, end time: %s", url, time.Now().Format("2006-01-02 15:04:05.000"))
logger.Infof("end grpc dail: dail:%s, end time: %s", url, time.Now())
if err != nil {
logger.Errorf("grpc dail error: %v", err)
......
......@@ -6,3 +6,5 @@ require (
github.com/apache/dubbo-go v1.5.5
github.com/apache/dubbo-go-hessian2 v1.9.1
)
replace github.com/apache/dubbo-go => ../../../../../dubbo-go
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment