Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/divan/gotrace
/ worker
Function
worker
examples/serverworker.go:18–24 ·
view source on GitHub ↗
(wch chan int, results chan int)
Source
from the content-addressed store, hash-verified
16
}
17
18
func
worker(wch
chan
int, results
chan
int) {
19
for
{
20
data := <-wch
21
data++
22
results <- data
23
}
24
}
25
26
func
parse(results
chan
int) {
27
for
{
Callers
1
pool
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected