According to the [docs](https://golang.org/pkg/cmd/go/internal/generate/), generated go files must contain a line that satisfies the following regexp: `^// Code generated .* DO NOT EDIT\.$`. This allows automated tools (like github web interface or linters) to appropriately mark them as generated and ignore some checks that don't apply to those files.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||