bingohuang
Effective Go 中英双语版

Updated 12 days ago

jane1993 (@jane1993) started discussion #19

2 years ago · 0 comments

Open

Go 函数的返回值或结果 “形参” 可被命名,并作为常规变量使用,就像传入的形参一样。 命名后,一旦该函数开始执行,它们就会被初始化为与其类型相应的零值; 若该函数执行了一条不带实参的 return 语句,则结果形参的当前值将被返回。

函数 (Edit this file)

没看懂说的啥玩意儿

No description provided.

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant