This is an automated email from the ASF dual-hosted git repository.

baze pushed a commit to branch 1.4
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git

commit ea865671c530c7fd3a2a5bae4c75af177bba8684
Author: Patrick <[email protected]>
AuthorDate: Thu Jul 30 19:27:45 2020 +0800

    format code
---
 .../rest/server/server_impl/go_restful_server_test.go    | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/protocol/rest/server/server_impl/go_restful_server_test.go 
b/protocol/rest/server/server_impl/go_restful_server_test.go
index 29a9ef8..b1e6606 100644
--- a/protocol/rest/server/server_impl/go_restful_server_test.go
+++ b/protocol/rest/server/server_impl/go_restful_server_test.go
@@ -37,18 +37,18 @@ func TestGoRestfulServerDeploySameUrl(t *testing.T) {
        assert.NoError(t, err)
        grs.Start(url)
        rmc := &config.RestMethodConfig{
-               Produces:       "*/*",
-               Consumes:       "*/*",
-               MethodType:     "POST",
-               Path: "/test",
+               Produces:   "*/*",
+               Consumes:   "*/*",
+               MethodType: "POST",
+               Path:       "/test",
        }
        f := func(request server.RestServerRequest, response 
server.RestServerResponse) {}
        grs.Deploy(rmc, f)
        rmc1 := &config.RestMethodConfig{
-               Produces:       "*/*",
-               Consumes:       "*/*",
-               MethodType:     "GET",
-               Path: "/test",
+               Produces:   "*/*",
+               Consumes:   "*/*",
+               MethodType: "GET",
+               Path:       "/test",
        }
        grs.Deploy(rmc1, f)
        grs.UnDeploy(rmc)

Reply via email to