Fix additional typos and grammatical errors
This commit is contained in:
@@ -187,7 +187,7 @@ Use the `func` keyword to define a function.
|
||||
return value1, value2
|
||||
}
|
||||
|
||||
We extrapolate the following information from the example above.
|
||||
We can extrapolate the following information from the example above.
|
||||
|
||||
- Use keyword `func` to define a function `funcName`.
|
||||
- Functions have zero, one or more than one arguments. The argument type comes after the argument name and arguments are separated by `,`.
|
||||
@@ -273,7 +273,7 @@ Go supports variable arguments, which means you can give an uncertain numbers of
|
||||
|
||||
When we pass an argument to the function that was called, that function actually gets the copy of our variables so any change will not affect to the original variable.
|
||||
|
||||
Let's see one example to prove what i'm saying.
|
||||
Let's see one example in order to prove what i'm saying.
|
||||
|
||||
package main
|
||||
import "fmt"
|
||||
|
||||
Reference in New Issue
Block a user