Fix return value of Init() in README

This commit is contained in:
Tihomir Jovicic
2020-10-17 15:15:01 +02:00
committed by Christian Rocha
parent 75e31d0a68
commit 6638145bd7

View File

@@ -108,7 +108,7 @@ var initialModel = model{
func (m model) Init() tea.Cmd {
// Just return `nil`, which means "no I/O right now, please."
return m, nil
return nil
}
```