go-ethereum/libevm/options
Arran Schlosberg ba9ab538b9
feat: options.ApplyTo for default values (#225)
## Why this should be merged

Adds default-value support to the `options` package, which could
previously only create configured types from zero values.

## How this works

Exposes the option-application loop as the `ApplyTo()` function and
refactors `As()` to share this code path.

## How this was tested

Testable example acting as a unit test.
2025-09-09 15:11:33 +01:00
..
example_test.go feat: options.ApplyTo for default values (#225) 2025-09-09 15:11:33 +01:00
options.go feat: options.ApplyTo for default values (#225) 2025-09-09 15:11:33 +01:00