Skip to content

Commit

Permalink
Merge pull request #570 from robbyt/patch-1
Browse files Browse the repository at this point in the history
change the name from "Variable" to "Variadic"
  • Loading branch information
astaxie committed Nov 26, 2015
2 parents 97b533d + 8f2855a commit d324024
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions en/02.3.md
Expand Up @@ -257,9 +257,9 @@ The above example returns two values without names -you have the option of namin
return
}

### Variable arguments
### Variadic functions

Go supports variable arguments, which means you can give an uncertain numbers of argument to functions.
Go supports functions with a variable number of arguments. These functions are called "variadic", which means the function allows an uncertain numbers of arguments.

func myfunc(arg ...int) {}

Expand Down

0 comments on commit d324024

Please sign in to comment.