transfer.sh/vendor/github.com/golang/mock/sample/concurrent/concurrent.go
2019-03-17 20:19:56 +01:00

8 lines
239 B
Go

//go:generate mockgen -destination mock/concurrent_mock.go github.com/golang/mock/sample/concurrent Math
// Package concurrent demonstrates how to use gomock with goroutines.
package concurrent
type Math interface {
Sum(a, b int) int
}