early commit for moq command
This commit is contained in:
15
example/example.go
Normal file
15
example/example.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user