diff --git a/generator/interface_loader.go b/generator/interface_loader.go index 30155f0..f81c252 100644 --- a/generator/interface_loader.go +++ b/generator/interface_loader.go @@ -19,7 +19,7 @@ func (f *Fake) addTypesForMethod(sig *types.Signature) { } } -func methodForSignature(sig *types.Signature, methodName strin, imports Imports) Method { +func methodForSignature(sig *types.Signature, methodName string, imports Imports) Method { params := []Param{} for i := 0; i < sig.Params().Len(); i++ { param := sig.Params().At(i)