Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/goinaction/code
/ Task
Method
Task
chapter7/patterns/work/work.go:10–10 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
8
// the work pool.
9
type
Worker
interface
{
10
Task()
11
}
12
13
// Pool provides a pool of goroutines that can execute any Worker
Callers
1
New
Function · 0.65
Implementers
1
namePrinter
chapter7/patterns/work/main/main.go
Calls
no outgoing calls
Tested by
no test coverage detected