Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogToProgram ¶
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
type ShellOption ¶
type ShellOption func(*Model)
func WithContext ¶
func WithContext(ctx context.Context) ShellOption
func WithLogger ¶
func WithLogger(log *log.Logger) ShellOption
WithLogger sets the output of the specified logger to print above the given content. I'm not actually sure if this works yet because I'm bad at concurrency.
Click to show internal directories.
Click to hide internal directories.