package concurrent

import "github.com/golang/mock/sample/concurrent"

Package concurrent demonstrates how to use gomock with goroutines.

Index

Types

type Math

type Math interface {
	Sum(a, b int) int
}

Source Files

concurrent.go

Directories

PathSynopsis
sample/concurrent/mockPackage mock_concurrent is a generated GoMock package.
Version
v1.4.3
Published
Mar 16, 2020
Platform
js/wasm
Last checked
4 minutes ago

Tools for package owners.