mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 11:09:17 -07:00
Fix typo in doc comment + improve that comment
This commit is contained in:
4
tea.go
4
tea.go
@@ -25,8 +25,8 @@ type Msg interface{}
|
||||
|
||||
// Model contains the program's state as well as it's core functions.
|
||||
type Model interface {
|
||||
// Init is the first function that will be called. It returns your an
|
||||
// optional initial command.
|
||||
// Init is the first function that will be called. It returns an optional
|
||||
// initial command. To not perform an initial command return nil.
|
||||
Init() Cmd
|
||||
|
||||
// Update is called when a message is received. Use it to inspect messages
|
||||
|
||||
Reference in New Issue
Block a user