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.6.0 (latest)
Published
Jun 11, 2021
Platform
linux/amd64
Last checked
5 days ago

Tools for package owners.