Expand arg on variadic function (codegen template)
This commit is contained in:
@@ -44,6 +44,6 @@
|
||||
|
||||
{{ define "extraArgsCall" }}
|
||||
{{- range .Arguments -}}
|
||||
, _{{ .Name }}
|
||||
, _{{ .Name }}{{ if (hasPrefix "..." .Type) }}...{{ end }}
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user