update template header to conform to https://github.com/golang/go/issues/13560 'new standard way of denoting generated code'

This commit is contained in:
SteveOC 2017-07-18 14:00:03 +10:00
parent 941b573418
commit afd0cccab1

View File

@ -4,11 +4,11 @@ package moq
var moqImports = []string{"sync"}
// moqTemplate is the template for mocked code.
var moqTemplate = `package {{.PackageName}}
// AUTOGENERATED BY MOQ - DO NOT EDIT
var moqTemplate = `// Code generated by moq; DO NOT EDIT
// github.com/matryer/moq
package {{.PackageName}}
import (
{{- range .Imports }}
"{{.}}"