☰
Debian Codegraph
@
1.6.0-3
1.6.0-2
/
/
sample
/
concurrent
/
concurrent.go
☽
☼
sample/concurrent/concurrent.go
code
plain
raw
Apache-2.0
2010-2012 Google Inc.
debian/copyright
1
// Package concurrent demonstrates how to use gomock with goroutines.
2
package concurrent
3
4
//go:generate mockgen -destination mock/concurrent_mock.go github.com/golang/mock/sample/concurrent Math
5
6
type Math interface {
7
Sum(a, b int) int
8
}