-
Notifications
You must be signed in to change notification settings - Fork 292
CP-47358, CP-47361: Generate convert functions Go code #5603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CP-47358, CP-47361: Generate convert functions Go code #5603
Conversation
duobei
commented
Apr 30, 2024
- Add templates for convert functions
- Generate convert functions Go code
854f60a
to
ac0480c
Compare
…unctions Signed-off-by: xueqingz <xueqing.zhang@citrix.com> Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
ac0480c
to
344e629
Compare
Checking the Go lint format pass with: root@3eea0d3e0e5d:/app/go/goSDK# golangci-lint run --config=/app/.golangci.yml
WARN The linter 'gomnd' is deprecated (since v1.58.0) due to: The linter has been renamed. Replaced by mnd.
WARN The linter 'execinquery' is deprecated (since v1.58.0) due to: The repository of the linter has been archived by the owner.
0 issues. Test with xenserver-samples Go project. No special issues found on 7b88aa5. |
The test Go files naming with different format , could we use same rules for all convert test go files? like xx_convert.go? |
Sure. |
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
…lass messages Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
…h_enums` Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: xueqingz <xueqing.zhang@citrix.com> Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
changed templates: APIVersions.mustache,APIErrors.mustache, Record.mustache Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: xueqingz <xueqing.zhang@citrix.com> Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
Signed-off-by: Luca Zhang <feiya.zhang@cloud.com>
7b88aa5
to
e2a4919
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Golang lint check pass on commit 663e38, no special error found during samples test.
pytype_reporter extracted 50 problem reports from pytype output. You can check the results of the job here |