diff --git a/docs/chapter_data_structure/data_and_memory.md b/docs/chapter_data_structure/data_and_memory.md index 78fcac857..3e1e2167c 100644 --- a/docs/chapter_data_structure/data_and_memory.md +++ b/docs/chapter_data_structure/data_and_memory.md @@ -74,7 +74,11 @@ comments: true === "Go" ```go title="" - + // 使用多种「基本数据类型」来初始化「数组」 + var numbers = [5]int{} + var decimals = [5]float64{} + var characters = [5]byte{} + var booleans = [5]bool{} ``` === "JavaScript"