Closed smulube closed 1 month ago
This commit updates the template to include the recommended convention for generated files, specifically a string that matches the regex:
^// Code generated .* DO NOT EDIT\.$
This change should make easier certain housekeeping tasks, specifically allowing things like linting tools to ignore these files. See https://pkg.go.dev/cmd/go#hdr-Generate_Go_files_by_processing_source for a canonical source for this recommendation.
This commit updates the template to include the recommended convention for generated files, specifically a string that matches the regex:
This change should make easier certain housekeeping tasks, specifically allowing things like linting tools to ignore these files. See https://pkg.go.dev/cmd/go#hdr-Generate_Go_files_by_processing_source for a canonical source for this recommendation.