From 0ee88b36d0f44424ba1e0892437ef8b2915db0fb Mon Sep 17 00:00:00 2001 From: libm Date: Tue, 3 Mar 2026 10:00:10 +0800 Subject: [PATCH] docs(readme): remove repetitive description. --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 23cfad00ce..f06ed32244 100644 --- a/README.md +++ b/README.md @@ -98,9 +98,7 @@ type model struct { ## Initialization -Next, we’ll define our application’s initial state. `Init` can return a `Cmd` -that could perform some initial I/O. For now, we don’t need to do any I/O, so -for the command, we’ll just return `nil`, which translates to “no command.” +Next, we’ll define our application’s initial state. ```go func initialModel() model { @@ -116,7 +114,7 @@ func initialModel() model { } ``` -After that, we’ll define our application’s initial state in the `Init` method. `Init` +After that, `Init` can return a `Cmd` that could perform some initial I/O. For now, we don't need to do any I/O, so for the command, we'll just return `nil`, which translates to "no command."