-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Inline codegen #7495
Inline codegen #7495
Conversation
I think we want this! |
b945672
to
3943c3a
Compare
Codecov Report
@@ Coverage Diff @@
## master #7495 +/- ##
==========================================
- Coverage 39.88% 39.70% -0.19%
==========================================
Files 631 631
Lines 66907 66924 +17
==========================================
- Hits 26688 26574 -114
- Misses 35614 35746 +132
+ Partials 4605 4604 -1
Continue to review full report at Codecov.
|
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.
niiiice
The general idea is that we can use some magic template comments + shared json to add codegen to any part of the code.
TODO:
make gen
To use right now, run
go run ./gen/inline-gen . gen/inlinegen-data.json; go fmt ./...