Skip to content

Commit

Permalink
Use Printf for log with no KV argument
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael committed Jul 7, 2024
1 parent cc0259f commit eeab7f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codegen/service/templates/endpoint.go.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ func (s *{{ .ServiceVarName }}srvc) {{ .VarName }}(ctx context.Context{{ if .Pay
{{- end }}
{{- end }}
{{- end }}
log.Print(ctx, "{{ .ServiceVarName }}.{{ .Name }}")
log.Printf(ctx, "{{ .ServiceVarName }}.{{ .Name }}")
return
}

0 comments on commit eeab7f4

Please sign in to comment.