Variables in go can be declared using following syntax var <variable-name> <data-type> = <value> For e.g. package main func main(){ var x int = 40 } There is also a shortcut of defining variables package main func main(){ x := 10 } In th...
tech.latencot.com2 min readNo responses yet.