{"id":215,"date":"2015-11-08T18:33:10","date_gmt":"2015-11-08T09:33:10","guid":{"rendered":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2015\/11\/08\/play_with_go"},"modified":"2015-11-08T18:33:10","modified_gmt":"2015-11-08T09:33:10","slug":"play_with_go","status":"publish","type":"post","link":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/blog\/2015\/11\/08\/play_with_go\/","title":{"rendered":"Go\u3067\u904a\u3093\u3067\u308f\u304b\u3063\u305f3\u3064\u306e\u9b45\u529b"},"content":{"rendered":"
11\/20 ~ 12\/4 \u307e\u3067\u306e\u7d042\u9031\u9593\u3001\u30b5\u30f3\u30d5\u30e9\u30f3\u30b7\u30b9\u30b3\u3068\u30b7\u30ea\u30b3\u30f3\u30d0\u30ec\u30fc\u306b\u3044\u304f\u4e88\u5b9a\u306e\u4f0a\u85e4\u3067\u3059\u30021\u9031\u9593\u306f\u4f11\u6687\u3092\u9802\u3044\u3066\u3001\u3082\u30461\u9031\u9593\u306f\u73fe\u5730\u3067\u30ea\u30e2\u30fc\u30c8\u30ef\u30fc\u30af\u3092\u884c\u3046\u4e88\u5b9a\u3067\u3059\u3002\u521d\u3081\u3066\u306e\u30a2\u30e1\u30ea\u30ab\u306a\u306e\u3067\u30ef\u30af\u30ef\u30af\u3057\u3066\u3044\u307e\u3059\uff01<\/p>\n
1\u30f6\u6708\u524d\u3050\u3089\u3044\u304b\u3089\u8da3\u5473\u3067Go\u8a00\u8a9e\u3092\u66f8\u304d\u59cb\u3081\u305f\u306e\u3067\u3059\u304c\u3001\u6bd4\u8f03\u7684\u3059\u3050\u306b\u98fd\u304d\u3066\u3057\u307e\u3046\u50d5\u3067\u30821\u30f6\u6708\u9593\u5272\u3068\u697d\u3057\u304f\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u7d9a\u3051\u3089\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u4eca\u56de\u306f\u305d\u306eGo\u8a00\u8a9e\u306e\u9b45\u529b\u3092\u3054\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n
\u50d5\u304c\u306f\u3058\u3081\u3066Go\u3092\u66f8\u3044\u305f\u306e\u306f\u3001\u524d\u56de\u306e\u8a18\u4e8b<\/a> \u3067\u7d39\u4ecb\u3057\u305f \u81ea\u4f5cISUCON<\/a> \u306e\u30d9\u30f3\u30c1\u30de\u30fc\u30ab\u30fc\u3092\u4f5c\u6210\u3057\u305f\u3068\u304d\u3067\u3057\u305f\u3002\u30d9\u30f3\u30c1\u30de\u30fc\u30ab\u30fc\u306f\u4e26\u5217\u3067\u9ad8\u901f\u306bHTTP\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9001\u4fe1\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u9ad8\u901f<\/strong> \u306b \u4e26\u5217\u5b9f\u884c<\/strong> \u306a\u3089Go\u8a00\u8a9e\u3067\u3057\u3087\u3046\uff01\u3068\u3044\u3046\u8efd\u3044\u6c17\u6301\u3061\u3067\u66f8\u304d\u59cb\u3081\u307e\u3057\u305f\u3002\u5b9f\u969b\u306b\u66f8\u3044\u3066\u307f\u308b\u3068\u3001\u69cb\u6587\u3092\u899a\u3048\u305f\u3060\u3051\u3067\u601d\u3063\u305f\u4ee5\u4e0a\u306b\u611f\u899a\u7684\u306b\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u3001\u7279\u306b\u30cf\u30de\u308b\u3053\u3068\u3082\u306a\u304f\u5b9f\u88c5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u305f\u306e\u3067\u3001\u304b\u306a\u308a\u826f\u3044\u7b2c\u4e00\u5370\u8c61\u3067\u3057\u305f\u3002<\/p>\n \u305d\u306e\u5f8c\u3001\u3042\u308b\u4e8b\u60c5\u3067\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u56de\u7dda\u901f\u5ea6\u3092\u8a08\u6e2c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001speedtest-cli<\/a> \u3068\u3044\u3046\u30c4\u30fc\u30eb\u304c\u3042\u308b\u3053\u3068\u3092\u77e5\u308a\u307e\u3057\u305f\u3002\u3053\u308c\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u3067\u56de\u7dda\u901f\u5ea6\u8a08\u6e2c\u3092\u884c\u3046 speedtest.net<\/a> (\u306e\u8ca1\u7523)\u3092\u5229\u7528\u3057\u305f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u306a\u306e\u3067\u3059\u304c\u3001\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u8aad\u3093\u3067\u307f\u308b\u3068HTTP\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u9001\u4fe1\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u6539\u5584\u3067\u304d\u305d\u3046\u306a\u611f\u3058\u304c\u3057\u305f\u306e\u3067\u3001\u9ad8\u901f<\/strong> \u306b \u4e26\u5217\u5b9f\u884c<\/strong> \u306a\u3089Go\u8a00\u8a9e\u3067\u3057\u3087\u3046\uff01\u3068\u3044\u3046\u3053\u3068\u3067\u3001Go\u3067\u30d5\u30eb\u30b9\u30af\u30e9\u30c3\u30c1\u3067\u56de\u7dda\u901f\u5ea6\u8a08\u6e2c\u30c4\u30fc\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n \u305d\u306e\u6210\u679c\u7269\u304c showwin\/speedtest-go<\/a> \u306a\u306e\u3067\u3059\u304c\u3001\u306a\u3093\u3068 speedtest.net<\/a> \u306e\u7d04\u534a\u5206\u306e\u6642\u9593\u3067\u56de\u7dda\u901f\u5ea6\u306e\u8a08\u6e2c\u304c\u3067\u304d\u3001\u8a08\u6e2c\u7d50\u679c\u306f\u65e2\u5b58\u30c4\u30fc\u30eb\u306e speedtest-cli<\/a> \u3088\u308a\u3082\u7cbe\u5ea6\u304c\u9ad8\u3044(=\u3088\u308a speedtest.net<\/a> \u3067\u8a08\u6e2c\u3057\u305f\u5024\u306b\u8fd1\u3044)\u3082\u306e\u304c\u3067\u304d\u3066\u3057\u307e\u3044\u307e\u3057\u305f\uff01 \u8da3\u5473\u30d7\u30ed\u30c0\u30af\u30c8\u306e\u5ba3\u4f1d\u307f\u305f\u3044\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u304c\u3001\u3053\u3053\u304b\u3089\u4e0a\u8a182\u3064\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u3044\u3066\u5206\u304b\u3063\u305fGo\u306e\u826f\u3055\u30923\u3064\u7d39\u4ecb\u3057\u307e\u3059\u3002Go\u3067HTTP\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3057\u304b\u66f8\u3044\u3066\u3044\u306a\u3044\u4eba\u306e\u610f\u898b\u306a\u306e\u3067\u3001\u504f\u3063\u3066\u3044\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n Go\u306e\u4e26\u5217\u5b9f\u884c\u306b\u306f Goroutine \u3068\u3044\u3046\u30b7\u30f3\u30d7\u30eb\u306b\u8a2d\u8a08\u3055\u308c\u305f\u3082\u306e\u304c\u3042\u308a\u3001\u3053\u308c\u3092\u4f7f\u3046\u3053\u3068\u3067\u7c21\u5358\u306b\u5b9f\u88c5\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4eca\u307e\u3067\u4e26\u5217\u51e6\u7406\u3092\u66f8\u3044\u305f\u3053\u3068\u304c\u306a\u3044\u79c1\u3067\u3082\u3001\u7c21\u5358\u306a\u8a18\u8ff0\u3067\u5b9f\u88c5\u304c\u3067\u304d\u308b\u305f\u3081\u3044\u308d\u3044\u308d\u3068\u624b\u3092\u52d5\u304b\u3057\u3066\u52d5\u4f5c\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u77ed\u6642\u9593\u3067\u52d5\u304d\u3092\u7406\u89e3\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n Java\u3092\u5c11\u3057\u3060\u3051\u66f8\u3044\u3066\u3044\u305f\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u5927\u5b66\u6642\u4ee3\u304b\u3089\u307b\u3068\u3093\u3069Ruby\u3092\u66f8\u3044\u3066\u3044\u305f\u305f\u3081Go\u306e\u9759\u7684\u578b\u4ed8\u3051\u306f\u65b0\u9bae\u3067\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u3067\u30a8\u30e9\u30fc\u30c1\u30a7\u30c3\u30af\u304c\u3067\u304d\u308b\u3053\u3068\u304c\u3069\u308c\u3060\u3051\u697d\u306a\u3053\u3068\u304b\u3092\u5b9f\u611f\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002\u307e\u305f\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u306b\u3001\u4f7f\u7528\u3057\u3066\u3044\u306a\u3044\u5909\u6570\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30c1\u30a7\u30c3\u30af\u3082\u884c\u3063\u3066\u304a\u308a\u3001\u4e0d\u8981\u306a\u30b3\u30fc\u30c9\u304c\u3042\u308b\u5834\u5408\u306b\u306f\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u306e\u3067\u3001\u5e38\u306b\u7121\u99c4\u306e\u306a\u3044\u30ad\u30ec\u30a4\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n Go\u306f\u69d8\u3005\u306fOS\u5411\u3051\u306e\u30d0\u30a4\u30ca\u30ea\u3092\u751f\u6210\u3059\u308b\u30af\u30ed\u30b9\u30b3\u30f3\u30d1\u30a4\u30eb\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u3066\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3092\u4f5c\u6210\u3059\u308b\u306e\u306b\u5411\u3044\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u305d\u308c\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3082\u975e\u5e38\u306b\u8c4a\u5bcc\u3067\u3001\u305d\u308c\u3089\u3092\u4f7f\u3046\u3053\u3068\u3067\u975e\u5e38\u306b\u9ad8\u901f\u306b\u958b\u767a\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u79c1\u304c\u4f5c\u6210\u3057\u305f speedtest-go<\/a> \u3067\u306f13\u7a2e\u985e\u306e\u30d0\u30a4\u30ca\u30ea\u3092\u914d\u5e03\u3057\u3066\u3044\u308b<\/a>\u306e\u3067\u3059\u304c\u3001\u3053\u308c\u3082\u30b3\u30de\u30f3\u30c9\u30921\u3064\u53e9\u304f\u3060\u3051\u3067\u3059\u3079\u3066\u306e\u30d0\u30a4\u30ca\u30ea\u304c\u751f\u6210\u3055\u308c\u81ea\u52d5\u7684\u306b GitHub \u3067 Release \u307e\u3067\u884c\u3063\u3066\u304f\u308c\u308b\u975e\u5e38\u306b\u4fbf\u5229\u306a\u30c4\u30fc\u30eb laher\/goxc<\/a> \u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n \u307e\u3060\u307e\u3060\u521d\u5fc3\u8005\u3067Go\u306e\u4f7f\u3044\u30c9\u30b3\u30ed\u3092\u628a\u63e1\u3057\u304d\u308c\u3066\u306f\u3044\u306a\u3044\u3067\u3059\u304c\u3001\u306a\u3093\u3068\u306a\u304fGo\u306e\u826f\u3055\u306f\u3064\u304b\u3081\u3066\u304d\u305f\u304b\u306a\u3068\u3044\u3046\u611f\u3058\u304c\u3057\u3066\u3044\u307e\u3059\u3002\u65b0\u3057\u3044\u30d7\u30ed\u30c0\u30af\u30c8\u306e\u4f5c\u6210\u306f\u4e00\u6642\u505c\u6b62\u3057\u3066\u3001\u6b21\u306fGo\u306e\u30ad\u30ec\u30a4\u306a\u30b3\u30fc\u30c9\u306e\u66f8\u304d\u65b9\u3084\u3001\u30c6\u30b9\u30c8\u30b3\u30fc\u30c9\u306e\u66f8\u304d\u65b9\u8fba\u308a\u3092\u52c9\u5f37\u3057\u305f\u3044\u306a\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n \u3061\u306a\u307f\u306b\u3001\u793e\u5185 Slack \u306b\u306f #gopher \u30c1\u30e3\u30f3\u30cd\u30eb\u304c\u3042\u308a\u3001Gopher \u304c\u305f\u304f\u3055\u3093\u3044\u305f\u308a\u3001\u4e0b\u689d\u3055\u3093\u304c\u4e0b\u90f7\u3055\u3093\u306b\u306a\u3063\u3066\u3044\u305f\u308a\u3057\u307e\u3059\u3002 11\/20 ~ 12\/4 \u307e\u3067\u306e\u7d042\u9031\u9593\u3001\u30b5\u30f3\u30d5\u30e9\u30f3\u30b7\u30b9\u30b3\u3068\u30b7\u30ea\u30b3\u30f3\u30d0\u30ec\u30fc\u306b\u3044\u304f\u4e88\u5b9a\u306e\u4f0a\u85e4\u3067\u3059\u30021\u9031\u9593\u306f\u4f11\u6687\u3092\u9802\u3044\u3066\u3001\u3082\u30461\u9031\u9593\u306f\u73fe\u5730\u3067\u30ea\u30e2\u30fc\u30c8\u30ef\u30fc\u30af\u3092\u884c\u3046\u4e88\u5b9a\u3067\u3059\u3002\u521d\u3081\u3066\u306e\u30a2\u30e1\u30ea\u30ab\u306a\u306e\u3067\u30ef\u30af\u30ef\u30af\u3057\u3066\u3044\u307e\u3059\uff01 1\u30f6\u6708\u524d\u3050\u3089\u3044\u304b\u3089\u8da3\u5473\u3067Go\u8a00\u8a9e\u3092\u66f8\u304d\u59cb\u3081\u305f\u306e\u3067\u3059\u304c\u3001\u6bd4\u8f03\u7684\u3059\u3050\u306b\u98fd\u304d\u3066\u3057\u307e\u3046\u50d5\u3067\u30821\u30f6\u6708\u9593\u5272\u3068\u697d\u3057\u304f\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u7d9a\u3051\u3089\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u4eca\u56de\u306f\u305d\u306eGo\u8a00\u8a9e\u306e\u9b45\u529b\u3092\u3054\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 Go […]<\/p>\n","protected":false},"author":1,"featured_media":826,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[128],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts\/215"}],"collection":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/comments?post=215"}],"version-history":[{"count":0,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/posts\/215\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/media\/826"}],"wp:attachment":[{"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/media?parent=215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/categories?post=215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/p-corporate-blog-cms.mmmcorp.co.jp\/wp-json\/wp\/v2\/tags?post=215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u9023\u5c04\u3067Go!<\/h2>\n
\n\u3053\u308c\u306f\u826f\u3044\u3082\u306e\u304c\u3067\u304d\u305f\u305e\uff01\uff01\u3068\u601d\u3044\u3001Go Conference 2015 Winter<\/a> \u306e\u30bb\u30c3\u30b7\u30e7\u30f3\u767a\u8868\u306b\u5fdc\u52df\u3057\u3066\u307f\u307e\u3057\u305f\u300211\/6\u306b\u63a1\u629e\/\u975e\u63a1\u629e\u306e\u7d50\u679c\u767a\u8868\u4e88\u5b9a\u3067\u3057\u305f\u304c\u3001\u307e\u3060\u7d50\u679c\u304c\u6765\u305a\u3001\u767a\u8868\u3067\u304d\u308b\u306e\u304b\u3069\u3046\u304b\u308f\u304b\u3089\u306a\u3044\u72b6\u614b\u3067\u3059\u3002\u3002<\/p>\nGo\u306e\u9b45\u529b<\/h2>\n
\u51e1\u4eba\u3067\u3082\u66f8\u3051\u308b\u4e26\u5217\u5b9f\u884c<\/h4>\n
\u9759\u7684\u578b\u4ed8\u3051\u8a00\u8a9e<\/h4>\n
\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u4f5c\u6210\u306b\u95a2\u9023\u3059\u308b\u8c4a\u5bcc\u306a\u30e9\u30a4\u30d6\u30e9\u30ea<\/h4>\n
\u307e\u3068\u3081<\/h2>\n
\n
\n<\/p>\n","protected":false},"excerpt":{"rendered":"