We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please answer these questions before submitting your issue. Thanks!
go version
1.7.4
go env
GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin"
N/A: Not an issue, more a request for an additional feature
I was expecting the language to allow to define default value for function parameters as we can do with python and scala
This feature is not available
The text was updated successfully, but these errors were encountered:
Sorry, Go does not support this.
For questions about Go, see https://golang.org/wiki/Questions.
For language change proposals, see https://github.com/golang/proposal/ but be aware that Go 1 is pretty frozen at this point.
Sorry, something went wrong.
thanks @bradfitz
No branches or pull requests
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?1.7.4
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
What did you do?
N/A: Not an issue, more a request for an additional feature
What did you expect to see?
I was expecting the language to allow to define default value for function parameters as we can do with python and scala
What did you see instead?
This feature is not available
The text was updated successfully, but these errors were encountered: