This commit is contained in:
Mat Ryer 2017-07-11 21:42:55 +01:00
parent d6bc24ab27
commit 941b573418

View File

@ -4,8 +4,8 @@ package example
// github.com/matryer/moq // github.com/matryer/moq
import ( import (
"sync"
"context" "context"
"sync"
) )
var ( var (
@ -86,7 +86,7 @@ func (mock *PersonStoreMock) CreateCalls() []struct {
Ctx context.Context Ctx context.Context
Person *Person Person *Person
Confirm bool Confirm bool
} { } {
var calls []struct { var calls []struct {
Ctx context.Context Ctx context.Context
Person *Person Person *Person
@ -122,7 +122,7 @@ func (mock *PersonStoreMock) Get(ctx context.Context, id string) (*Person, error
func (mock *PersonStoreMock) GetCalls() []struct { func (mock *PersonStoreMock) GetCalls() []struct {
Ctx context.Context Ctx context.Context
Id string Id string
} { } {
var calls []struct { var calls []struct {
Ctx context.Context Ctx context.Context
Id string Id string