Skip to content
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

adds go generation and go abstractions #413

Merged
merged 76 commits into from
Aug 18, 2021
Merged

adds go generation and go abstractions #413

merged 76 commits into from
Aug 18, 2021

Conversation

baywet
Copy link
Member

@baywet baywet commented Jul 27, 2021

Summary

  • initial setup for go generation
  • adds go profile to launch.json
  • fixes package declaration for go
  • adds go abstractions
  • fixes go file name conventions
  • adds support for enums in go
  • adds support for usings in go
  • fixes primitive type mapping in go
  • removes private fields prefixing in go as it's handled by language conventions
  • adds default imports, relative imports and core types correction in go
  • updates go launch json to match language conventions

fixes #161

Generation result

microsoft/kiota-samples#176

TODO

  • Client constructor
  • Collection navigation properties (e.g. get all messages)
  • Unit tests

@baywet baywet added this to the Beta milestone Jul 27, 2021
@baywet baywet added the Go label Jul 27, 2021
@baywet baywet self-assigned this Jul 27, 2021
Base automatically changed from feature/ruby-writers to main July 28, 2021 16:08
@baywet baywet force-pushed the feature/go branch 2 times, most recently from bef594e to b5e04fa Compare August 4, 2021 14:41
@baywet baywet force-pushed the feature/go branch 2 times, most recently from 3384f01 to aefaaae Compare August 5, 2021 13:44
@baywet baywet marked this pull request as ready for review August 11, 2021 19:08
@baywet baywet enabled auto-merge August 11, 2021 19:08
@baywet baywet removed the request for review from abfarah August 16, 2021 15:15
@baywet baywet requested a review from andrueastman August 17, 2021 16:40
@baywet baywet requested a review from andrueastman August 17, 2021 19:18
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

83.8% 83.8% Coverage
0.0% 0.0% Duplication

@baywet baywet merged commit 913f5c5 into main Aug 18, 2021
@baywet baywet deleted the feature/go branch August 18, 2021 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Go generation support
2 participants