File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -531,7 +531,7 @@ func main() {
531531</details >
532532
533533<details >
534- <summary >符合类型 </summary >
534+ <summary >复合类型 </summary >
535535
536536复合类型将使用不同的格式输出,格式如下:
537537
@@ -541,7 +541,7 @@ func main() {
541541映 射:map[键1:值1 键2:值2 ...]
542542```
543543
544- 指向符合元素的指针 :` &{} ` , ` &[] ` , ` &map[] `
544+ 指向复合元素的指针 :` &{} ` , ` &[] ` , ` &map[] `
545545复合类型本身没有动词,动词将应用到复合类型的元素上。
546546结构体可以使用 "+v" 同时输出字段名。
547547
@@ -579,7 +579,7 @@ break default func interface select
579579case defer go map struct
580580chan else goto package switch
581581const fallthrough if range type
582- continue for import retrun var
582+ continue for import return var
583583```
584584
585585</details >
@@ -2047,7 +2047,7 @@ func main() {
20472047< details>
20482048< summary> 结构体指针< /summary>
20492049
2050- 结构体字段使用点号来访问 。
2050+ 结构体指针使用 & 来访问 。
20512051
20522052` ` ` go
20532053package main
You can’t perform that action at this time.
0 commit comments