From 480bdd41fc3c2ef875b25b978c787f21d6eba6d6 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Sun, 18 Oct 2020 12:43:41 -0400 Subject: [PATCH] Fix typo in doc comment + improve that comment --- tea.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tea.go b/tea.go index d249c34..7a1f2f4 100644 --- a/tea.go +++ b/tea.go @@ -25,8 +25,8 @@ type Msg interface{} // Model contains the program's state as well as it's core functions. type Model interface { - // Init is the first function that will be called. It returns your an - // optional initial command. + // Init is the first function that will be called. It returns an optional + // initial command. To not perform an initial command return nil. Init() Cmd // Update is called when a message is received. Use it to inspect messages