-
Notifications
You must be signed in to change notification settings - Fork 14
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
Replace ast with dst for gocode #98
Conversation
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.
Just small changes in comments
This line made me crave some tests that even just minimally verify that output hasn't changed. i realize there are no tests for this right now - totally my fault - but maybe this is a good opportunity to add some. |
Basically a txtar-based test like what we have for openapi should do the trick - something that shows outputs of the generator under different parameterizations of inputs |
Co-authored-by: sam boyer <sdboyer@grafana.com>
Co-authored-by: sam boyer <sdboyer@grafana.com>
…nto update-to-dst-for-gocode
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.
LGTM! thanks for adding the tests
Replace ast with dst for gocode
It updates ast with dst for go files.