mirror of
https://github.com/chai2010/advanced-go-programming-book.git
synced 2025-05-24 04:22:22 +00:00
ch3-04-fix typo
This commit is contained in:
parent
94a50a2f5f
commit
496ebf26b0
@ -47,7 +47,7 @@ func Add() (a []int) // reflect.SliceHeader 切片头刚好也是 3 个 int 成
|
||||
|
||||
## 函数参数和返回值
|
||||
|
||||
对于函数来说,最重要的是函数对外提供的API约定,包含函数的名称、参数和返回值。当名称和参数返回都确定之后,如何精确计算参数和返回值的大小是第一个需要解决的问题。
|
||||
对于函数来说,最重要的是函数对外提供的API约定,包含函数的名称、参数和返回值。当这些都确定之后,如何精确计算参数和返回值的大小是第一个需要解决的问题。
|
||||
|
||||

|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user