Skip to content
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

internal/gensnippets: include comment indicating code is autogenerated #4260

Closed
noahdietz opened this issue Jun 14, 2021 · 0 comments
Closed

internal/gensnippets: include comment indicating code is autogenerated #4260

noahdietz opened this issue Jun 14, 2021 · 0 comments
Assignees

Comments

@noahdietz
Copy link
Contributor

@noahdietz noahdietz commented Jun 14, 2021

Can we include a comment near the top of the file indicating that the code is autogenerated? I believe this is the (somewhat recently) accepted format of such comments: https://golang.org/cmd/go/#hdr-Generate_Go_files_by_processing_source. I read in the PRD that this should be indicated and noticed it hadn't been added already.

For GAPICs it is // Code generated by protoc-gen-go_gapic. DO NOT EDIT. just under the license block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant