early commit for moq command

This commit is contained in:
Mat Ryer
2016-08-29 13:00:18 +01:00
parent 757a93b481
commit 6a2af83edc
5 changed files with 235 additions and 0 deletions

15
example/example.go Normal file
View File

@@ -0,0 +1,15 @@
package example
import "context"
type Person struct {
ID string
Name string
Company string
Website string
}
type PersonStore interface {
Get(context.Context, string) (*Person, error)
Create(ctx context.Context, person *Person, confirm bool) error
}