Initializing structs in Go -


Is this valid syntax for starting a straight line in Go? I get the actual error message "Syntax Error: Unexpected}" field

id =

. Maybe you can not start anonymous strokes in this way?

There is no guess for you!

 name: = "a" ltype: = "b" value: = "c" id: = struct {name, ltype, value string} {name, ltype, value}  

Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -