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

If possible assign directly to struct fields, slices, maps #148

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

jmattheis
Copy link
Owner

Fixes #97

Copy link

codecov bot commented Jun 21, 2024

Codecov Report

Attention: Patch coverage is 96.82540% with 4 lines in your changes missing coverage. Please review.

Project coverage is 96.59%. Comparing base (ae1b2c8) to head (c3a52d6).

Files Patch % Lines
builder/enum.go 0.00% 2 Missing ⚠️
generator/generator.go 94.11% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #148      +/-   ##
==========================================
- Coverage   96.68%   96.59%   -0.10%     
==========================================
  Files          45       46       +1     
  Lines        2053     2115      +62     
==========================================
+ Hits         1985     2043      +58     
- Misses         47       50       +3     
- Partials       21       22       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jmattheis jmattheis merged commit 6bcdb92 into main Jun 21, 2024
12 checks passed
@jmattheis jmattheis deleted the assign-not-nil branch June 21, 2024 20:07
@jmattheis jmattheis changed the title If possible assign directly to struct fileds, slices, maps If possible assign directly to struct fields, slices, maps Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve struct code-generation for pointer fields
1 participant