mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2020-11-18 19:53:40 -08:00
9 lines
239 B
Go
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
|
|
}
|