package
Version:
v0.0.237
Opens a new window with list of versions in this module.
Published: Oct 8, 2026
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package toolenv resolves and persists the compiler's user settings.
ConfigPath is the per-user settings file. Reading settings never creates it.
Names is the complete set of supported user settings, in display order.
Update validates every requested edit before atomically replacing the file.
Unknown saved keys are retained for compatibility with newer compilers.
type Setting struct {
Value string `json:"value"`
Source string `json:"source"`
}
Setting includes the origin of an effective value.
Lookup resolves environment, then saved settings, then the platform default.
Empty values select the next source. Explicit values are never relocated.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.