I only recently learned Go when I try my first world hello of this style:
func main() { ...somemagic... }
and the 6g compiler says this is wrong.
But with this style:
func main(){ ...somemagic... }
This is normal.
Is the first style of a pair of parentheses illegal in Go?
source share