mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 00:43:26 +08:00
fix typo
This commit is contained in:
@@ -166,7 +166,7 @@ func functionName(parameter_list) (return_value_list) {
|
||||
其中:
|
||||
|
||||
- parameter_list 的形式为 (param1 type1, param2 type2, …)
|
||||
- return\_value_list 的形式为 (ret1 type1, ret2 type2, …)
|
||||
- return_value_list 的形式为 (ret1 type1, ret2 type2, …)
|
||||
|
||||
只有当某个函数需要被外部包调用的时候才使用大写字母开头,并遵循 Pascal 命名法;否则就遵循骆驼命名法,即第一个单词的首字母小写,其余单词的首字母大写。
|
||||
|
||||
|
Reference in New Issue
Block a user