Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ func Test_{{packageName}}_{{classname}}Service(t *testing.T) {
t.Skip("skip test") // remove to run test

{{/-first}}
{{#isPrimitiveType}}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like you're using a mix of tabs and spaces for indentation

what about replacing spaces above with tabs instead to make it consistent with the rest of the template?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated @wing328

var {{paramName}} {{{dataType}}}
{{/isPrimitiveType}}
{{^isPrimitiveType}}
var {{paramName}} {{goImportAlias}}.{{{dataType}}}
{{/isPrimitiveType}}
{{/pathParams}}

{{#returnType}}resp, {{/returnType}}httpRes, err := apiClient.{{classname}}.{{operationId}}(context.Background(){{#pathParams}}, {{paramName}}{{/pathParams}}).Execute()
Expand Down