Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Is it true that short variable declaration := can be used only inside a function?
Home
GoLang
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.
...