When programming in Go, I tend to use assignment statement using the operator :=
often.
But I find it difficult to type these two characters :=
. Is there any short cut or a autocomplete way to type :=
?
CodePudding user response:
GoLand or IntelliJ IDEA with Go plugin has a handy shortcut to declare a new variable: