diff --git a/package/moq/moq.go b/package/moq/moq.go index c94d275..c2339ce 100644 --- a/package/moq/moq.go +++ b/package/moq/moq.go @@ -265,7 +265,7 @@ type {{.InterfaceName}}Mock struct { {{ end }} // CallsTo tracks calls to the methods. CallsTo struct { -{{ range .Methods }} +{{- range .Methods }} lock{{.Name}} sync.Mutex // protects {{ .Name }} // {{ .Name }} holds details about calls to the {{.Name}} method. {{ .Name }} []struct {