Registry / utility / tomb-v2

tomb-v2

JSON →
library2.0.0-20161208151619-d5d1b5820637gogounverified

The tomb package handles clean goroutine tracking and termination.

go get gopkg.in/tomb.v2
INSTALL
IMPORT
SIG · TOMB-V2
T
tomb-v2
utilitygov2.0.0-20161208151619-d5d1b5820637
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

tomb
✓ gopkg.in/tomb.v2

Creates a tomb, runs a goroutine, and waits for it to finish.

package main import ( "fmt" "gopkg.in/tomb.v2" ) func main() { t := tomb.Tomb{} t.Go(func() error { return nil }) err := t.Wait() fmt.Println(err) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.0-20161208151619-d5d1b5820637latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
14
Resources
tomb-v2 — go get tomb-v2 · libregistry