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