go

Go: declaring a slice inside a struct?

英文: Go: declaring a slice inside a struct? 问题 你的代码有几个语法错误。首先,在house结构体中,你不能在类型声明中使用:=运算符。你应该在结构体外部声明...