Skip to content

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

@noahdietz

Description

@noahdietz

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.

Metadata

Metadata

Assignees

Labels

type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions