You can define multiple variables in Go very quickly.
var (
a = 10
b = 20
c = 30
)
Previous Posts In The Series
Introduction To 'Go' Programming Language(Learn 'Go' - Part 1)
25 Basic Keywords Of The Go Programming Language (Learn 'Go' - Part 2)
How To Set The Go Programming Environment On Your System?(Learn 'Go' - Part 3)
Create Your First Program In Go Language (Learn 'Go' - Part 4)
Strings In 'Go'(Learn 'Go' - Part 5)
Booleans In 'Go'(Learn 'Go' - Part 6)
Numbers In 'Go'(Learn 'Go' - Part 7)
Variables In 'Go'(Learn 'Go' - Part 8)
Constants In 'Go'(Learn 'Go' - Part9)
Upcoming Posts
For Loop In 'Go'(Learn 'Go' - Part 11)