10. Variables
Naming memory locations
What are Variables?
Declaring variables
func main() {
var s string
s = "sumit"
var i, j, k int
}break default func
interface select case
defer go map
struct chan else
goto package switch
const fallthrough if
range type continue
for import return
varShort variable declaration
Variable Scope
From the Docs
Last updated
