From bcd5f48f6b84edcf8e028be9bf14a2341a7d08de Mon Sep 17 00:00:00 2001 From: zhangjunyong8888888 <44471442+zhangjunyong8888888@users.noreply.github.com> Date: Thu, 20 Apr 2023 17:00:05 +0800 Subject: [PATCH] Update 02.6.md Fixed element default output bugs --- zh/02.6.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh/02.6.md b/zh/02.6.md index 5685cc91e..ce22fd130 100644 --- a/zh/02.6.md +++ b/zh/02.6.md @@ -326,7 +326,7 @@ fmt.Println("The biggest one is", boxes.BiggestsColor()) case Person: fmt.Printf("list[%d] is a Person and its value is %s\n", index, value) default: - fmt.Println("list[%d] is of a different type", index) + fmt.Printf("list[%d] is of a different type", index) } } }