From 58d2ed94e7d596e1413c8125a69d9a0fb8863ee5 Mon Sep 17 00:00:00 2001 From: Ken Hibino Date: Thu, 23 Jan 2020 06:05:18 -0800 Subject: [PATCH] [ci skip] Fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dcba185..cb556b7 100644 --- a/README.md +++ b/README.md @@ -179,7 +179,7 @@ func main() { } ``` -We could kep adding cases to this handler function, but in a realistic application, it's convenient to define the logic for each case in a separate function. +We could keep adding cases to this handler function, but in a realistic application, it's convenient to define the logic for each case in a separate function. To refactor our code, let's create a simple dispatcher which maps task type to its handler.