Improved generated code
This commit is contained in:
parent
feae1301cf
commit
50ce4e36c7
@ -265,7 +265,7 @@ type {{.InterfaceName}}Mock struct {
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
// CallsTo tracks calls to the methods.
|
// CallsTo tracks calls to the methods.
|
||||||
CallsTo struct {
|
CallsTo struct {
|
||||||
{{ range .Methods }}
|
{{- range .Methods }}
|
||||||
lock{{.Name}} sync.Mutex // protects {{ .Name }}
|
lock{{.Name}} sync.Mutex // protects {{ .Name }}
|
||||||
// {{ .Name }} holds details about calls to the {{.Name}} method.
|
// {{ .Name }} holds details about calls to the {{.Name}} method.
|
||||||
{{ .Name }} []struct {
|
{{ .Name }} []struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user