Open magnusbaeck opened 1 month ago
To convey to humans and machine tools that code is generated, generated source should have a line that matches the following regular expression (in Go syntax):
^// Code generated .* DO NOT EDIT\.$
This line must appear before the first non-comment, non-blank text in the file.
To me it looks like you need a trailing period as well.
Correct, thanks. Description updated.
Description
The files we generate have a comment right after the copyright block:
This is fine, but the
go generate
conventions call for something else:gopls and other tools detect this and are, for example, able to warn the user.
Additional Context
No response
Logs
No response
Expected Behavior
I expect the SDK to follow established standard and conventions for Go code.
Steps To Reproduce
No response
The version of this project/repo, if applicable
No response
The version/edition of the Eiffel Protocol used, if applicable
N/A