Skip to content

Commit

Permalink
include context in interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Grant Gongaware committed Feb 1, 2019
1 parent 847558e commit 7c809e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operations_tmpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var opsTmpl = `
// {{range .Faults}}
// - {{.Name}} {{.Doc}}{{end}}{{end}}
{{if ne .Doc ""}}/* {{.Doc}} */{{end}}
{{makePublic .Name | replaceReservedWords}} ({{if ne $requestType ""}}request *{{$requestType}}{{end}}) (*{{$responseType}}, error)
{{makePublic .Name | replaceReservedWords}} (ctx context.Context, {{if ne $requestType ""}}request *{{$requestType}}{{end}}) (*{{$responseType}}, error)
{{/*end*/}}
{{end}}
}
Expand Down

0 comments on commit 7c809e9

Please sign in to comment.