Merge pull request #22 from steveoc64/master

update template header to conform to https://github.com/golang/go/iss
This commit is contained in:
Mat Ryer 2017-07-18 09:33:24 +01:00 committed by GitHub
commit 1b59660688

View File

@ -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 }}
"{{.}}" "{{.}}"