chore: use go 1.16 (#449)

* chore: use go 1.16 and gofmt accordingly

* chore: also update examples and tuts to go 1.16
This commit is contained in:
Christian Rocha
2022-09-14 19:08:36 -04:00
committed by GitHub
parent bf3996256b
commit 1a0beff868
16 changed files with 33 additions and 26 deletions

View File

@@ -46,8 +46,10 @@ func main() {
}
}
type tickMsg struct{}
type frameMsg struct{}
type (
tickMsg struct{}
frameMsg struct{}
)
func tick() tea.Cmd {
return tea.Tick(time.Second, func(time.Time) tea.Msg {