regen with never protoc-gen-go

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-03-22 00:10:15 +03:00
parent cc4d370f1f
commit 2a6ba611ed
13 changed files with 90 additions and 210 deletions

View File

@@ -24,6 +24,8 @@ func (c *testDoubleClient) CallDouble(ctx context.Context, req *CallReq, opts ..
errmap["default"] = &Error{}
opts = append(opts,
v3.ErrorMap(errmap),
)
opts = append(opts,
v3.Method("POST"),
v3.Path("/v1/testdouble/call/{name}"),
v3.Body("*"),
@@ -72,6 +74,8 @@ func (c *testClient) Call(ctx context.Context, req *CallReq, opts ...client.Call
errmap["default"] = &Error{}
opts = append(opts,
v3.ErrorMap(errmap),
)
opts = append(opts,
v3.Method("POST"),
v3.Path("/v1/test/call/{name}"),
v3.Body("*"),
@@ -89,6 +93,8 @@ func (c *testClient) CallError(ctx context.Context, req *CallReq1, opts ...clien
errmap["default"] = &Error{}
opts = append(opts,
v3.ErrorMap(errmap),
)
opts = append(opts,
v3.Method("POST"),
v3.Path("/v1/test/callerror/{name}"),
v3.Body("*"),