Documentation
¶
Overview ¶
Package option provides a typed Some/None carrier for fields that may be present or absent. Pure value semantics — no pointer, no nil. Read Val only when Has is true.
Idiomatic uses include marshalling fields that bind to a ZeroToOne cardinality, configuration values that may be unset, and any API where the difference between "absent" and "zero value" matters.
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 ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.