envx

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package envx resolves vexscan's own environment variables, honoring the legacy GOMODVEX_ names the tool used before it was renamed from gomod-vex.

Index

Constants

This section is empty.

Variables

View Source
var Prefixes = []string{"VEXSCAN_", "GOMODVEX_"}

Prefixes are the accepted variable prefixes, newest first.

Functions

func Get

func Get(suffix string) string

Get returns the value of the first set variable named by suffix across Prefixes, trimmed of surrounding whitespace. It returns "" when none is set, so callers keep their existing "unset means default" handling.

Types

This section is empty.

Jump to

Keyboard shortcuts

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