From 4537da03d2e3954bd8c5d360eb51833917deae02 Mon Sep 17 00:00:00 2001 From: Camilo Aguilar Date: Mon, 1 Sep 2014 11:02:24 -0400 Subject: [PATCH] Removes space between docs and function declaration --- generator/operations_tmpl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/operations_tmpl.go b/generator/operations_tmpl.go index b801cef..1cfe2de 100644 --- a/generator/operations_tmpl.go +++ b/generator/operations_tmpl.go @@ -22,7 +22,6 @@ var opsTmpl = ` {{$output := findType .Output.Message}} {{if ne $soapAction ""}} - {{if ne .Doc ""}}// {{.Doc}}{{end}} {{if gt $faults 0}} // // Error can be either of the following types: @@ -30,6 +29,7 @@ var opsTmpl = ` // - {{.Name}} {{.Doc}}{{end}} // {{end}} + {{if ne .Doc ""}}// {{.Doc}}{{end}} func (service *{{$portType}}) {{makePublic .Name}} (request *{{$requestType}}) (*{{$output}}, error) { response := &{{$output}}{} err := service.client.Call("{{$soapAction}}", request, response)