mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 21:54:30 +00:00
## 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. |
||
|---|---|---|
| .. | ||
| example_test.go | ||
| options.go | ||