gojuno / minimock

Powerful mock generation tool for Go programming language
MIT License
577 stars 38 forks source link

Use the go:generate comment convention #34

Closed ailurarctos closed 5 years ago

ailurarctos commented 5 years ago

Thank you for the excellent library!

This is a tiny pull request to use the comment convention defined in https://golang.org/pkg/cmd/go/internal/generate/ to identify the files created by minimock as machine-generated:

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

Some tools and editors use this regular expression to detect machine-generated files.

hexdigest commented 5 years ago

@ailurarctos thank you for your contribution!