envvar

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2026 License: Apache-2.0 Imports: 4 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.

Documentation

Overview

Package envvar resolves the toolchain's OPENSYSML_-prefixed environment variables, falling back to their legacy SYSML_-prefixed names.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Legacy

func Legacy(name string) string

Legacy returns the SYSML_-prefixed name a variable answered to before the prefixes were unified.

func Lookup

func Lookup(name string) string

Lookup returns the value of name (an OPENSYSML_-prefixed variable), falling back to its legacy SYSML_-prefixed name when name is unset or empty. When both are set and non-empty, the OPENSYSML_ value wins. Using only the legacy name warns once per variable per process.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL