{"provider_name":"Hatena Blog","type":"rich","height":"190","author_name":"otiai10","url":"https://otiai10.hatenablog.com/entry/2015/05/01/172955","description":"\u300c\u306a\u3093\u304b\u306e\u30b9\u30e9\u30a4\u30b9\u300d\u3092\u300cinterface{}\u306e\u30b9\u30e9\u30a4\u30b9\u300d\u306b\u3057\u305f\u3044\u3002 \u30b9\u30e9\u30a4\u30b9\u3067\u306a\u3051\u308c\u3070\u3001\u300c\u306a\u3093\u304b\u300d\u3092\u300cinterface{}\u300d\u306b\u3059\u308b\u306e\u306f\u5358\u306b\u62bd\u8c61\u5ea6\u306e\u5897\u3059\u30ad\u30e3\u30b9\u30c8\u306a\u306e\u3067\u8d85\u7c21\u5358\u306a\u308f\u3051\u3060\u3051\u3069\u3002 s := \"hoge\" i := interface{}(s) \u3053\u308c\u304c\u30b9\u30e9\u30a4\u30b9\u3068\u306a\u308b\u3068\u3060\u3081 ss := []string{\"aaa\",\"bbb\"} si := []interface{}(ss) cannot convert ss (type string) to type interface {} \u3042\u3001\u30cf\u30a4 \u7406\u7531 [go-nuts] How to convert some structs slice to\u2026","categories":["go"],"published":"2015-05-01 17:29:55","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fotiai10.hatenablog.com%2Fentry%2F2015%2F05%2F01%2F172955\" title=\"\u3010Go\u8a00\u8a9e\u3011[]string, []int to []interface{} \u3068\u304b\u305d\u3046\u3044\u3046\u306e - DRY\u306a\u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","blog_url":"https://otiai10.hatenablog.com/","image_url":"http://cdn-ak.f.st-hatena.com/images/fotolife/o/otiai10/20150501/20150501172923.png","title":"\u3010Go\u8a00\u8a9e\u3011[]string, []int to []interface{} \u3068\u304b\u305d\u3046\u3044\u3046\u306e","author_url":"https://blog.hatena.ne.jp/otiai10/","provider_url":"https://hatena.blog","blog_title":"DRY\u306a\u5099\u5fd8\u9332","version":"1.0"}