Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Error ¶
type Error string
Error allows for creating constant errors instead of sentinel ones.
const ( // FlagErr can be used as formatting string for flag related validation // errors where the first variable lists the flag name and the second // variable is the actual error. FlagErr = "--%s error: %w" // ErrRequired is returned when required config options are not provided. ErrRequired Error = "required" )
Click to show internal directories.
Click to hide internal directories.