{"image_url":null,"title":"main redeclared in this block","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsasaplus1.hatenadiary.com%2Fentry%2F20130326%2F1364272726\" title=\"main redeclared in this block - \u56db\u89d2\u9769\u547d\u524d\u591c\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","version":"1.0","published":"2013-03-26 13:38:46","provider_url":"https://hatena.blog","width":"100%","provider_name":"Hatena Blog","blog_url":"https://sasaplus1.hatenadiary.com/","author_url":"https://blog.hatena.ne.jp/sasaplus1/","author_name":"sasaplus1","description":"\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u304a\u304f\u3068\u2026\u2026 a.go package main func main() { } b.go package main func main() { } $ go build # _/home/sasaplus1/Work/aaa ./b.go:3: main redeclared in this block previous declaration at ./a.go:3 \u3068\u304b\u51fa\u529b\u3055\u308c\u308b\u3002\u7df4\u7fd2\u3067\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u8907\u6570\u306e\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u305f\u306e\u3060\u3051\u3069\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u3057\u3066\u898b\u3066\u308b\uff08\u306e\u304b\u306a\uff1f\uff09\u306e\u3067\u91cd\u8907\u3057\u3066main\u66f8\u3044\u3066\u308b\u3088~\u3063\u3066\u3053\u3068\u306a\u306e\u304b\u306a\u3002","type":"rich","blog_title":"\u56db\u89d2\u9769\u547d\u524d\u591c","categories":["Go"],"url":"https://sasaplus1.hatenadiary.com/entry/20130326/1364272726"}