From 8e9be8cda7fda6d1aeb0be72d604bf2cae383924 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Thu, 11 May 2023 10:36:39 +0300 Subject: [PATCH] fixup rpc CloseSend method Signed-off-by: Vasiliy Tolstov --- util.go | 2 +- variables.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/util.go b/util.go index c6f0f12..b0e083d 100644 --- a/util.go +++ b/util.go @@ -613,7 +613,7 @@ func (g *Generator) generateServiceClientStreamInterface(gfile *protogen.Generat gfile.P("RecvMsg(msg interface{}) error") if method.Desc.IsStreamingClient() && !method.Desc.IsStreamingServer() { gfile.P("CloseAndRecv() (*", gfile.QualifiedGoIdent(method.Output.GoIdent), ", error)") - gfile.P("CloseSend() () error") + gfile.P("CloseSend() error") } gfile.P("Close() error") if method.Desc.IsStreamingClient() { diff --git a/variables.go b/variables.go index 202866a..b3c5817 100644 --- a/variables.go +++ b/variables.go @@ -21,5 +21,5 @@ var ( grpcPackage = protogen.GoImportPath("google.golang.org/grpc") timePackage = protogen.GoImportPath("time") deprecationComment = "// Deprecated: Do not use." - versionComment = "v4.0.0" + versionComment = "v4.0.1" ) -- 2.45.2