{"width":"100%","blog_title":"at kaneshin","height":"190","version":"1.0","title":"Golang\u306e\u6a19\u6e96\u5165\u529b\u3092\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u304b\u30d1\u30a4\u30d7\u3067\u5165\u529b\u3092\u53d7\u3051\u53d6\u308b","image_url":null,"author_url":"https://blog.hatena.ne.jp/laplus-knsn/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkaneshin.hateblo.jp%2Fentry%2F2016%2F07%2F05%2F004601\" title=\"Golang\u306e\u6a19\u6e96\u5165\u529b\u3092\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u304b\u30d1\u30a4\u30d7\u3067\u5165\u529b\u3092\u53d7\u3051\u53d6\u308b - at kaneshin\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","url":"https://kaneshin.hateblo.jp/entry/2016/07/05/004601","blog_url":"https://kaneshin.hateblo.jp/","published":"2016-07-05 00:46:01","categories":["Golang"],"author_name":"laplus-knsn","type":"rich","description":"Go\u8a00\u8a9e\u3067\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3092\u4f5c\u308b\u3068\u304d\u306b\u5165\u529b\u3092\u53d7\u3051\u53d6\u308b\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3067\u30aa\u30d7\u30b7\u30e7\u30f3\u3084\u6a19\u6e96\u5165\u529b\u3067\u53d7\u3051\u4ed8\u3051\u308b\u3053\u3068\u306f\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u30d1\u30a4\u30d7\u3067\u6e21\u3059\u3053\u3068\u3082\u8003\u616e\u3055\u308c\u3066\u3044\u308b\u3068\u30af\u30fc\u30eb\u306a\u30c4\u30fc\u30eb\u306b\u306a\u308b\u306a\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002 \u6a19\u6e96\u5165\u529b\u306e\u53d7\u3051\u53d6\u308a \u305d\u308c\u305e\u308c\u306e\u5b9f\u88c5\u65b9\u6cd5\u306f\u7c21\u5358\u3067\u3059\u3002 \u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6 var stdin string fmt.Scan(&stdin) fmt.Println(stdin) \u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306b\u6a19\u6e96\u5165\u529b\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d7\u3051\u53d6\u308b\u306b\u306f fmt.Scan \u3067\u5165\u529b\u5f85\u3061\u3092\u3057\u307e\u3059\u3002\u3053\u306e\u3068\u304d\u5165\u529b\u3057\u305f\u5024\u304c\u6e21\u3057\u305f\u5909\u6570\u306b\u683c\u7d0d\u3055\u308c\u307e\u3059\u3002 \u30d1\u30a4\u30d7 body, err := ioutil.ReadAll(os.Stdin)\u2026"}