Sign in
chromium
/
external
/
github.com
/
golang
/
mock
/
refs/heads/main
/
.
/
sample
/
concurrent
/
concurrent.go
blob: 1fb943a48f16cad57497d5f583699bfd868241ec [
file
] [
log
] [
blame
] [
edit
]
// Package concurrent demonstrates how to use gomock with goroutines.
package concurrent
//go:generate mockgen -destination mock/concurrent_mock.go github.com/golang/mock/sample/concurrent Math
type Math interface {
Sum(a, b int) int
}