Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MainOption ¶
type MainOption func(*mainOptions)
MainOption is an option for Main.
func WithDeprecatedBinaryName ¶
func WithDeprecatedBinaryName(oldBinaryName string, newBinaryName string) MainOption
WithDeprecatedBinaryName returns a new MainOption that marks this binary as deprecated and points from the old binary name to the new binary name.
Click to show internal directories.
Click to hide internal directories.