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

@@ -7,7 +7,6 @@
package pb
import (
proto "github.com/golang/protobuf/proto"
_ "github.com/unistack-org/micro-proto/api"
_ "github.com/unistack-org/micro-proto/openapiv2"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
@@ -23,10 +22,6 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// This is a compile-time assertion that a sufficiently up-to-date version
// of the legacy proto package is being used.
const _ = proto.ProtoPackageIsVersion4
type LookupUserReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache

View File

@@ -24,6 +24,8 @@ func (c *githubClient) LookupUser(ctx context.Context, req *LookupUserReq, opts
errmap["default"] = &Error{}
opts = append(opts,
v3.ErrorMap(errmap),
)
opts = append(opts,
v3.Method("GET"),
v3.Path("/users/{username}"),
v3.Body(""),