config

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PackageProps = packageprops.Props{
	WASMWASI:         packageprops.WASMCompiles,
	WASMJS:           packageprops.WASMCompiles,
	WASMFreestanding: packageprops.WASMCompiles,
}

PackageProps records this package's curated properties (ADR-0080). Seeded by `boxer code analysis golang wasmsurvey props generate`; curate by hand. The same group's `props verify` reconciles it.

Functions

func GenerateResolverFunc

func GenerateResolverFunc(nameAry []string, emptyMeansZero bool) func(s string) (int, error)

func IdentityNameTransf

func IdentityNameTransf(name string) (newName string)

Types

type ConfigerI

type ConfigerI interface {
	ToCliFlags(nameTransf NameTransformFunc, envVarNameTransf NameTransformFunc) []cli.Flag
	FromContext(nameTransf NameTransformFunc, ctx *cli.Context) (nMessages int)
	Validate(force bool) (nMessages int)
}

type NameTransformFunc

type NameTransformFunc func(name string) (newName string)

Directories

Path Synopsis
env
Package env is the boxer-wide environment variable registry.
Package env is the boxer-wide environment variable registry.
envdoc
Package envdoc renders the env-var registry to a Diátaxis-typed reference markdown file.
Package envdoc renders the env-var registry to a Diátaxis-typed reference markdown file.

Jump to

Keyboard shortcuts

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