File tree 1 file changed +16
-16
lines changed
1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -28,23 +28,23 @@ var opsTmpl = `
28
28
{{$output := findType .Output.Message}}
29
29
30
30
{{/*if ne $soapAction ""*/}}
31
- {{if gt $faults 0}}
32
- //
33
- // Error can be either of the following types:
34
- // {{range .Faults}}
35
- // - {{.Name}} {{.Doc}}{{end}}
36
- //
37
- {{end}}
38
- {{if ne .Doc ""}}// {{.Doc}}{{end}}
39
- func (service *{{$portType}}) {{makePublic .Name}} (request *{{$requestType}}) (*{{$output}}, error) {
40
- response := &{{$output}}{}
41
- err := service.client.Call("{{$soapAction}}", request, response)
42
- if err != nil {
43
- return nil, err
44
- }
45
-
46
- return response, nil
31
+ {{if gt $faults 0}}
32
+ //
33
+ // Error can be either of the following types:
34
+ // {{range .Faults}}
35
+ // - {{.Name}} {{.Doc}}{{end}}
36
+ //
37
+ {{end}}
38
+ {{if ne .Doc ""}}// {{.Doc}}{{end}}
39
+ func (service *{{$portType}}) {{makePublic .Name}} (request *{{$requestType}}) (*{{$output}}, error) {
40
+ response := &{{$output}}{}
41
+ err := service.client.Call("{{$soapAction}}", request, response)
42
+ if err != nil {
43
+ return nil, err
47
44
}
45
+
46
+ return response, nil
47
+ }
48
48
{{/*end*/}}
49
49
{{end}}
50
50
{{end}}
You can’t perform that action at this time.
0 commit comments