Pull some extraneous parens in the basics tutorial

This commit is contained in:
Christian Rocha 2020-10-16 11:23:37 -04:00
parent 141fc86ad0
commit 15b6b1dd7d
No known key found for this signature in database
GPG Key ID: D6CC7A16E5878018
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ var initialModel = model{
selected: make(map[int]struct{}),
}
func (m model) Init() (tea.Cmd) {
func (m model) Init() tea.Cmd {
// Just return `nil`, which means "no I/O right now, please."
return m, nil
}

View File

@ -69,7 +69,7 @@ var initialModel = model{
selected: make(map[int]struct{}),
}
func (m model) Init() (tea.Cmd) {
func (m model) Init() tea.Cmd {
// Just return `nil`, which means "no I/O right now, please."
return m, nil
}