Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celzero/midway
/ barrier
Function
barrier
main.go:106–110 ·
view source on GitHub ↗
(count int)
Source
from the content-addressed store, hash-verified
104
}
105
106
func
barrier(count int) *sync.WaitGroup {
107
w := &sync.WaitGroup{}
108
w.Add(count)
109
return
w
110
}
111
112
func
ko(err error) {
113
if
err != nil {
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected