mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2025-01-15 13:10:18 +01:00
8 lines
239 B
Go
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
|
|
}
|