Login
Remember
Register
Ask a Question
Is it true that short variable declaration := can be used only inside a function?
0
votes
asked
Aug 19, 2022
in
GoLang
by
john ganales
Is it true that short variable declaration := can be used only inside a function?
golang
short-variable
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 19, 2022
by
john ganales
Yes. A short variable declaration := can be used only inside a function.
...