mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Update go-cn.html.markdown
This commit is contained in:
parent
7c2bd365bd
commit
a01402b7b1
@ -142,6 +142,7 @@ func learnTypes() {
|
||||
func learnNamedReturns(x, y int) (z int) {
|
||||
z = x * y
|
||||
return // z is implicit here, because we named it earlier.
|
||||
}
|
||||
|
||||
// Go全面支持垃圾回收。Go有指针,但是不支持指针运算。
|
||||
// 你会因为空指针而犯错,但是不会因为增加指针而犯错。
|
||||
|
Loading…
Reference in New Issue
Block a user