Home > other >  Golang exactly do you want to initialize the map
Golang exactly do you want to initialize the map

Time:04-23

Has been initialized, such as
Test:=make (map [string] string)
Find it not initialize also can be used directly,
Var test map [string] string
What is the difference between the two

CodePudding user response:

Please look at the meaning of the make and var, and:=what, there's no doubt you,
  • Related