From c1ab0cce3c534a45d9b52c161501dd3f008b7df3 Mon Sep 17 00:00:00 2001 From: aldslvda Date: Tue, 28 Dec 2021 10:53:30 +0800 Subject: [PATCH] fix: fix typo in cmd/protoc-gen-go-http/http.go(is does not -> does not) (#1718) --- cmd/protoc-gen-go-http/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/protoc-gen-go-http/http.go b/cmd/protoc-gen-go-http/http.go index fef91d7a2..4e985451c 100644 --- a/cmd/protoc-gen-go-http/http.go +++ b/cmd/protoc-gen-go-http/http.go @@ -146,7 +146,7 @@ func buildHTTPRule(g *protogen.GeneratedFile, m *protogen.Method, rule *annotati md.Body = "." + camelCaseVars(body) } else { md.HasBody = false - _, _ = fmt.Fprintf(os.Stderr, "\u001B[31mWARN\u001B[m: %s %s is does not declare a body.\n", method, path) + _, _ = fmt.Fprintf(os.Stderr, "\u001B[31mWARN\u001B[m: %s %s does not declare a body.\n", method, path) } if responseBody == "*" { md.ResponseBody = ""