Discover Packages
github.com/sneat-dev/wb
internal
runenv
package
Version:
v0.218.0
Opens a new window with list of versions in this module.
Published: Dec 1, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Jump to ...
Documentation
Overview
Index
Constants
Variables
Functions
Daemon(base, argv, additions, operationID, units, effectiveGOFLAGS)
Synchronous(base, argv, operationID, units, effectiveGOFLAGS)
Worker(base, argv, operationID, units, effectiveGOFLAGS)
Types
Source Files
Documentation
Documentation
¶
Package runenv assembles governed child environments without ambient state.
func Daemon(base, argv []string, additions map[string]string, operationID string, ...) []string
func Synchronous(base, argv []string, operationID string, units int, effectiveGOFLAGS string) []string
func Worker(base, argv []string, operationID string, units int, effectiveGOFLAGS string) []string
Daemon applies durable additions before allocation overrides. GOMAXPROCS is
governed from the original inherited base, not the durable additions.
Synchronous leaves CPU fields unchanged for an ungoverned command.
Worker sets allocation fields even when units is nonpositive.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.