Documentation
¶
Overview ¶
Package opt provides a small generic implementation of the functional options pattern. Option[T] is a function that mutates a value of type T and may return an error; Options[T] is a slice of them whose Apply method runs each option in order and stops at the first error. It lets constructors accept a variadic ...Option[T] for type-safe, composable configuration without per-type boilerplate. Code generated by apic; DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.