anz-bank / sysl-go

Communication library used by SYSL-generated code written in Go.
Apache License 2.0
10 stars 14 forks source link

Generated code message should be more prominent #163

Open orlade-anz opened 4 years ago

orlade-anz commented 4 years ago

Generated files start with the line:

// Code generated by sysl DO NOT EDIT.
package foo

This is easy to miss, and just looks like description rather than a warning. For consistency with other generated Go code, it should at least have a full stop and an extra new line:

// Code generated by sysl. DO NOT EDIT.

package foo

We could go further like some other files and include the command that generated the file and more comments. I don't really mind.