MCPcopy
hub / github.com/uber-go/mock / Math

Interface Math

sample/concurrent/concurrent.go:6–8  ·  view source on GitHub ↗

go:generate mockgen -destination mock/concurrent_mock.go go.uber.org/mock/sample/concurrent Math

Source from the content-addressed store, hash-verified

4//go:generate mockgen -destination mock/concurrent_mock.go go.uber.org/mock/sample/concurrent Math
5
6type Math interface {
7 Sum(a, b int) int
8}

Callers 3

callFunction · 0.65
TestConcurrentWorksFunction · 0.65

Implementers 2

MockMathsample/concurrent/mock/concurrent_mock
MockMathMockRecordersample/concurrent/mock/concurrent_mock

Calls

no outgoing calls

Tested by

no test coverage detected