Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Fail = errors.New("failed")
Functions ¶
This section is empty.
Types ¶
type EnvironmentWriter ¶
type EnvironmentWriter struct{}
func NewEnvironmentWriter ¶
func NewEnvironmentWriter() EnvironmentWriter
type ExitHandler ¶
type ExitHandler struct {
// contains filtered or unexported fields
}
func NewExitHandler ¶
func NewExitHandler(options ...Option) ExitHandler
func (ExitHandler) Error ¶
func (h ExitHandler) Error(err error)
type Option ¶
type Option func(handler ExitHandler) ExitHandler
func WithExitHandlerExitFunc ¶
func WithExitHandlerStderr ¶
func WithExitHandlerStdout ¶
type TOMLWriter ¶
type TOMLWriter struct{}
func NewTOMLWriter ¶
func NewTOMLWriter() TOMLWriter
func (TOMLWriter) Write ¶
func (tw TOMLWriter) Write(path string, value interface{}) error
Click to show internal directories.
Click to hide internal directories.