Skip to content
Myr

Improve a comment in the command tutorial

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Christian Rocha · committed by Christian Rocha · parent 8515087 · Browse files · 1 file+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−3 removed

  • other:+3 added−3 removed

1 file+3 added−3 removed

modified:tutorials/commands/README.md+3 added-3 removed
110 unmodified lines
111 switch msg := msg.(type) {112113 case statusMsg:114 // The server returned a status message. Save it to our model. Also115 // tell the Bubble Tea runtime we ant to exit because we have116 // nothing else to do. Don't worry, we'll still be able to render117 // a final view with our status message.115 // tell the Bubble Tea runtime we ant to exit because we have nothing116 // else to do. We'll still be able to render a final view with our117 // status message.118 m.status = int(msg)119 return m, tea.Quit120121 case errMsg:
123 unmodified lines