From 484cee63e4922ab872f1af52c9a18bd537ea0377 Mon Sep 17 00:00:00 2001 From: cui fliter Date: Tue, 25 Apr 2023 10:46:42 +0800 Subject: [PATCH] fix some typos Signed-off-by: cui fliter --- chapter06/06.2.md | 2 +- chapter09/09.1.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chapter06/06.2.md b/chapter06/06.2.md index b064fe0..02f5bea 100644 --- a/chapter06/06.2.md +++ b/chapter06/06.2.md @@ -117,7 +117,7 @@ filepath.Split("studygolang") fmt.Println(filepath.EvalSymlinks("symlink/studygolang.txt.2")) fmt.Println(os.Readlink("symlink/studygolang.txt.2")) -// Ouput: +// Output: // studygolang.txt // ../studygolang.txt ``` diff --git a/chapter09/09.1.md b/chapter09/09.1.md index ec2c83e..26e6571 100644 --- a/chapter09/09.1.md +++ b/chapter09/09.1.md @@ -266,7 +266,7 @@ func TestReadFromMap(t *testing.T) { // 测试 empty car_brand, err := GetOne(db, "select * from user where id = 999999") if (car_brand != nil) || (err != nil) { - t.Fatal("emtpy 测试错误 ") + t.Fatal("empty 测试错误 ") } } ```