This commit is contained in:
Christian Muehlhaeuser 2020-08-19 23:54:42 +02:00
parent 8838839847
commit e634ad5341
No known key found for this signature in database
GPG Key ID: 3CF9FA45CA1EBB7E
1 changed files with 1 additions and 1 deletions

2
tea.go
View File

@ -49,7 +49,7 @@ func Batch(cmds ...Cmd) Cmd {
type Init func() (Model, Cmd) type Init func() (Model, Cmd)
// Update is called when a message is received. Use it to inspect messages and, // Update is called when a message is received. Use it to inspect messages and,
// in repsonse, update the model and/or send a command. // in response, update the model and/or send a command.
type Update func(Msg, Model) (Model, Cmd) type Update func(Msg, Model) (Model, Cmd)
// View renders the program's UI, which is just a string. The view is rendered // View renders the program's UI, which is just a string. The view is rendered