Files
external-snapshotter/vendor/github.com/golang/mock/sample/concurrent/concurrent.go
2018-08-30 21:32:24 +08:00

9 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
}