Documentation
¶
Index ¶
- func Blank()
- func Context() context.Context
- func Err(format string, args ...any) core.Result
- func Exit(code int, err any) core.Result
- func Print(format string, args ...any)
- func SetStderr(w io.Writer)
- func SetStdout(w io.Writer)
- func Text(text string)
- func Wrap(cause any, message string) core.Result
- func WrapVerb(cause any, verb, subject string) core.Result
- type ExitError
- type Style
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Text ¶
func Text(text string)
Example ¶
buffer := core.NewBuffer()
SetStdout(buffer)
Text("value")
Types ¶
Click to show internal directories.
Click to hide internal directories.