From 9fcce3772d7a8e4fa580ded5b0a1e5dc85a3b10d Mon Sep 17 00:00:00 2001 From: Smotrov Dmitriy Date: Mon, 28 Jan 2019 16:26:05 +0300 Subject: [PATCH] Update add_transport.go --- generator/add_transport.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/add_transport.go b/generator/add_transport.go index 1309419..4215c0a 100644 --- a/generator/add_transport.go +++ b/generator/add_transport.go @@ -336,7 +336,7 @@ func (g *generateHTTPTransport) Generate() (err error) { if !decoderFound { g.code.appendMultilineComment([]string{ - fmt.Sprintf("decode%sResponse is a transport/http.DecodeRequestFunc that decodes a", m.Name), + fmt.Sprintf("decode%sRequest is a transport/http.DecodeRequestFunc that decodes a", m.Name), "JSON-encoded request from the HTTP request body.", }) g.code.NewLine()