Skip to content
Myr

Fix stack overflow in examples/http

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

authored by sora233 · committed by Christian Muehlhaeuser · parent 2d602a1 · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:examples/http/main.go+1 added-1 removed
20 unmodified lines
21type statusMsg int2223type errMsg struct{ error }2425func (e errMsg) Error() string { return e.Error() }25func (e errMsg) Error() string { return e.error.Error() }2627func main() {28 p := tea.NewProgram(model{})29 if err := p.Start(); err != nil {
56 unmodified lines