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

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -