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

Use the Go generated file convention. #660

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

smulube
Copy link
Contributor

@smulube smulube commented Aug 6, 2024

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:

```
^// 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.
@ackleymi ackleymi merged commit c07597e into quickfixgo:main Aug 7, 2024
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants