This commit is contained in:
wagslane
2023-05-01 15:25:27 -06:00
parent f8912668b8
commit 9be3074de6
868 changed files with 58698 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
# Multiple Parameters
When multiple arguments are of the same type, the type only needs to be declared after the last one, assuming they are in order.
For example:
```go
func add(x, y int) int {
return x + y
}
```
If they are not in order they need to be defined separately.