mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-19 03:50:11 +08:00
fix 10.5.1
修改打印函数
This commit is contained in:
@@ -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)
|
||||
}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user