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
Currently, when converting Go+ code or Go code to gop_autogen.go, we only preserve the associated documentation of the Node, but the comments are ignored.
From a completeness perspective, I am thinking it would be better to keep all original comments as much as possible.
Background
Considering that the gop_autogen.go file is intended to be pushed into the code repository, I am currently exploring ways to ensure it adheres to the standard Go coding style.
Workarounds
node
The text was updated successfully, but these errors were encountered:
CarlJi
changed the title
Proposal: preserve the original source's comments in the generated auto_gen.go file as much as possible
Proposal: preserve the original source's comments in the generated gop_autogen.go file as much as possible
Apr 21, 2024
Proposal
Currently, when converting Go+ code or Go code to gop_autogen.go, we only preserve the associated documentation of the Node, but the comments are ignored.
For example:
we got:
From a completeness perspective, I am thinking it would be better to keep all original comments as much as possible.
Background
Considering that the gop_autogen.go file is intended to be pushed into the code repository, I am currently exploring ways to ensure it adheres to the standard Go coding style.
Workarounds
node
The text was updated successfully, but these errors were encountered: