mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-14 02:33:03 +02:00
fix: fix typo in cmd/protoc-gen-go-http/http.go(is does not -> does not) (#1718)
This commit is contained in:
parent
3642f5d0ba
commit
c1ab0cce3c
@ -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 = ""
|
||||
|
Loading…
Reference in New Issue
Block a user