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
Add convenience functions to generated p4info code #508
Add convenience functions to generated p4info code #508
Conversation
* build maps and lists of IDs
993d2d2
to
e8d7cf1
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.
LGTM
Generator code could be structured into smaller functions, but until we write tests this will not be a problem.
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
fadbc9b
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.
Actually, since it's not urgent, can we add tests for the generator code?
Edit: Disregard that PR. It requires a major rewriting ( |
…pf-epc into EmanueleGallone-improve-gen-p4
p4constants.go
structure private.