idea开发go运动main方法,报结构体未定义

lion · · 1812 次点击
<a href="/user/jthmath" title="@jthmath">@jthmath</a> fuck.go package main type Fuck struct { Title string } ------------------------- main.go package main import ( &#34;fmt&#34; ) func main() { fmt.Println(&amp;Fuck{&#34;title&#34;}) }
#10
更多评论
![QQ图片20161212100555.png](http://studygolang.qiniudn.com/161212/19fdc7500f2d798bd9e1491b7f220980.png)
#1
![QQ图片1.png](http://studygolang.qiniudn.com/161212/11985b8609e8f92f68f9070db7e76e4b.png)![QQ图片2.png](http://studygolang.qiniudn.com/161212/aae3acad280397e9ddc4424e4f82b060.png)
#2