Update 02.3.md
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user