Discover Packages
github.com/ilyzz/bild
parallel
package
Version:
v0.0.0-...-358a119
Opens a new window with list of versions in this module.
Published: Jun 25, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package parallel provides helper functions for the dispatching of parallel jobs.
func Line(length int , fn func(start, end int ))
Line dispatches a parameter fn into multiple goroutines by splitting the parameter length
by the number of available CPUs and assigning the length parts into each fn.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.