Skip to content

Commit

Permalink
add generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
aloksinghaluber committed Mar 4, 2021
1 parent 7b6fbf4 commit bf45916
Show file tree
Hide file tree
Showing 8 changed files with 369 additions and 186 deletions.
17 changes: 13 additions & 4 deletions codegen/template_bundle/template_files.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions codegen/templates/http_client.tmpl
Expand Up @@ -218,8 +218,8 @@ func (c *{{$clientName}}) {{$methodName}}(
) ({{- if ne .ResponseType "" -}} {{.ResponseType}}, {{- end -}}map[string]string, error) {
reqUUID := zanzibar.RequestUUIDFromCtx(ctx)
if headers == nil {
headers = make(map[string]string)
}
headers = make(map[string]string)
}
if reqUUID != "" {
headers[c.requestUUIDHeaderKey] = reqUUID
}
Expand Down

0 comments on commit bf45916

Please sign in to comment.