quickfixgo / quickfix

The Go FIX Protocol Library :rocket:
https://www.quickfixgo.org/
Other
735 stars 288 forks source link

Use the Go generated file convention. #660

Closed smulube closed 1 month ago

smulube commented 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.