Skip to content
Snippets Groups Projects
Commit 616bfd8c authored by Patrick's avatar Patrick
Browse files

format code

parent 3557c7b3
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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