Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorcast-db committed Jul 5, 2024
1 parent d33b531 commit 438bbe2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .codegen/accounts.go.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ func NewAccountClient(c ...*Config) (*AccountClient, error) {
{{range .Services}}
{{- if and .IsAccounts (not .HasParent)}}
{{- if .HasDataPlaneAPI}}
{{(.TrimPrefix "account").PascalName}}: {{.CamelName}},
{{(.TrimPrefix "account").PascalName}}: {{.CamelName}},
{{- else if .IsDataPlane}}
{{(.TrimPrefix "account").PascalName}}: {{.Package.Name}}.New{{.Name}}(apiClient, {{.ControlPlaneService.CamelName}}),
{{(.TrimPrefix "account").PascalName}}: {{.Package.Name}}.New{{.Name}}(apiClient, {{.ControlPlaneService.CamelName}}),
{{- else }}
{{(.TrimPrefix "account").PascalName}}: {{.Package.Name}}.New{{.Name}}(apiClient),
{{(.TrimPrefix "account").PascalName}}: {{.Package.Name}}.New{{.Name}}(apiClient),
{{- end -}}
{{- end -}}
{{end}}
Expand Down

0 comments on commit 438bbe2

Please sign in to comment.