From add1618efe596400b1e24b04542f9aa1043bd0ee Mon Sep 17 00:00:00 2001 From: LaurenceLiZhixin <382673304@qq.com> Date: Sun, 17 Jan 2021 17:35:53 +0800 Subject: [PATCH] fix: conflict --- common/proxy/proxy_test.go | 8 -------- go.mod | 2 ++ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/common/proxy/proxy_test.go b/common/proxy/proxy_test.go index 9ce36835c..c335bf678 100644 --- a/common/proxy/proxy_test.go +++ b/common/proxy/proxy_test.go @@ -132,19 +132,11 @@ func TestProxyImplementForContext(t *testing.T) { p := NewProxy(invoker, nil, map[string]string{constant.ASYNC_KEY: "false"}) s := &TestService{} p.Implement(s) -<<<<<<< HEAD - attahments1 := make(map[string]interface{}, 4) - attahments1["k1"] = "v1" - attahments1["k2"] = "v2" - ctx := context.WithValue(context.Background(), constant.AttachmentKey, attahments1) - r, err := p.Get().(*TestService).MethodSix(ctx, "xxx") -======= attachments1 := make(map[string]interface{}, 4) attachments1["k1"] = "v1" attachments1["k2"] = "v2" context := context.WithValue(context.Background(), constant.AttachmentKey, attachments1) r, err := p.Get().(*TestService).MethodSix(context, "xxx") ->>>>>>> develop v1 := r.(map[string]interface{}) assert.NoError(t, err) assert.Equal(t, v1["TestProxyInvoker"], "TestProxyInvokerValue") diff --git a/go.mod b/go.mod index 18d85a650..ac83a94bc 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,7 @@ module github.com/apache/dubbo-go +go 1.15 + require ( github.com/NYTimes/gziphandler v1.1.1 // indirect github.com/RoaringBitmap/roaring v0.5.5 -- GitLab