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:
parent
941b573418
commit
afd0cccab1
@ -4,11 +4,11 @@ package moq
|
|||||||
var moqImports = []string{"sync"}
|
var moqImports = []string{"sync"}
|
||||||
|
|
||||||
// moqTemplate is the template for mocked code.
|
// moqTemplate is the template for mocked code.
|
||||||
var moqTemplate = `package {{.PackageName}}
|
var moqTemplate = `// Code generated by moq; DO NOT EDIT
|
||||||
|
|
||||||
// AUTOGENERATED BY MOQ - DO NOT EDIT
|
|
||||||
// github.com/matryer/moq
|
// github.com/matryer/moq
|
||||||
|
|
||||||
|
package {{.PackageName}}
|
||||||
|
|
||||||
import (
|
import (
|
||||||
{{- range .Imports }}
|
{{- range .Imports }}
|
||||||
"{{.}}"
|
"{{.}}"
|
||||||
|
Loading…
Reference in New Issue
Block a user