Merge pull request #1178 from daffaz/daffaz

Typo 02.3.md
This commit is contained in:
astaxie
2021-11-28 08:14:58 +08:00
committed by GitHub

View File

@@ -193,7 +193,7 @@ Use the `func` keyword to define a function.
func funcName(input1 type1, input2 type2) (output1 type1, output2 type2) {
// function body
// multi-value return
return value1, value2
return output1, output2
}
```
We can extrapolate the following information from the example above.