hexdigest / gowrap

GoWrap is a command line tool for generating decorators for Go interfaces
MIT License
1.06k stars 82 forks source link

Fixed template header to comply with Golang documentation #53

Closed optiman closed 2 years ago

optiman commented 2 years ago

Possibly resolves #20, #41

generated source should have a line that matches the following
regular expression (in Go syntax):

    ^// Code generated .* DO NOT EDIT\.$

This line must appear before the first non-comment, non-blank
text in the file.

https://cs.opensource.google/go/go/+/master:src/cmd/go/internal/generate/generate.go;l=66-73

hexdigest commented 2 years ago

Hey @optiman,

Thank you for the contribution! You can find you changes in v1.2.7