package
0.0.0-20250227122322-59689edd5517
Repository: https://github.com/ardanlabs/gotraining.git
Documentation: pkg.go.dev

# Packages

This sample program demonstrates how to use the work package to use a pool of goroutines to get work done.

# Functions

New creates a new work pool.

# Structs

Task provides a pool of goroutines that can execute any Worker tasks that are submitted.

# Interfaces

Worker must be implemented by types that want to use the run pool.