moq/generate/generate.go

13 lines
241 B
Go
Raw Normal View History

2016-09-21 23:02:49 +02:00
package generate
2016-09-21 23:05:31 +02:00
// In a terminal, run `go generate` in this directory to have
// it generates the generated.go file.
2016-09-21 23:02:49 +02:00
//go:generate moq -out generated.go . MyInterface
type MyInterface interface {
One() bool
Two() int
Three() string
}