1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 10:27:06 +00:00

use the new protobuf package and other minor stuff

Former-commit-id: 29bf71e8a73d34b27c6f5fe3f12c4ea1cc2b84b2
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-06-21 17:15:28 +03:00
parent d55bb34766
commit 29d98ac281
22 changed files with 59 additions and 105 deletions

View File

@@ -22,7 +22,6 @@ package helloworld
import (
context "context"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
@@ -39,10 +38,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
// The request message containing the user's name.
type HelloRequest struct {
state protoimpl.MessageState