Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Model ¶
type Model struct { Done bool // true when it's time to exit this view Quit bool // true when the user wants to quit the whole program // contains filtered or unexported fields }
Model holds the state of the username UI.
type NameInvalidMsg ¶
type NameInvalidMsg struct{}
NameInvalidMsg is sent when the requested username has failed validation.
type NameSetMsg ¶
type NameSetMsg string
NameSetMsg is sent when a new name has been set successfully. It contains the new name.
type NameTakenMsg ¶
type NameTakenMsg struct{}
NameTakenMsg is sent when the requested username has already been taken.
Click to show internal directories.
Click to hide internal directories.