mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 03:06:41 +08:00
校验ch10.6
This commit is contained in:
@@ -98,11 +98,11 @@ func main() {
|
||||
}
|
||||
```
|
||||
|
||||
* 练习 10.6:* employee_salary.go
|
||||
练习 10.6:employee_salary.go
|
||||
|
||||
定义结构体employee,它有一个salary字段,给这个结构体定义一个方法giveRaise来按照指定的百分比增加薪水。
|
||||
|
||||
* 练习 10.7:* iteration_list.go
|
||||
练习 10.7:iteration_list.go
|
||||
|
||||
下面这段代码有什么错?
|
||||
|
||||
|
Reference in New Issue
Block a user