瀏覽代碼

fix 10.5.1

修改打印函数
smart 10 年之前
父節點
當前提交
a0224fcdbe
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      eBook/10.5.md

+ 1 - 1
eBook/10.5.md

@@ -43,7 +43,7 @@ func main() {
 
 	// 使用结构体字面量
 	outer2 := outerS{6, 7.5, 60, innerS{5, 10}}
-	fmt.Printf("outer2 is:", outer2)
+	fmt.Println("outer2 is:", outer2)
 }
 ```