You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Add options to MergeStruct and MergeStructInto. This release adds a MergeOpt to both of these functions which can be used to control the merging behaviour. The initial option allows for overwriting fields that are populated in both the source and destination struct. Without the option, this case would result in an error if the two structs were populated and their values were unequal - now the destination is overwritten with the source's value.
Initial implementation stages for ygen intermediate representation (IR). This release includes some template code (not yet currently being executed) and a design document for the restructuring of the ygen library to use an IR from which code is generated. This eventually will allow for the protobuf and Go struct rendering functions to move out of ygen into their own packages - and allow for easier extension of the library to new formats.