{"height":"190","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/inokara/","width":"100%","provider_name":"Hatena Blog","description":"\u4eca\u5e74\u3063\u3066\u5e73\u6210\u4f55\u5e74\u3060\u3063\u3051\uff1f nen.go \u5e74\u672b\u8abf\u6574\u3092\u66f8\u3044\u3066\u3044\u3066\u300c\u4eca\u5e74\u3063\u3066\u5e73\u6210\u4f55\u5e74\u3060\u3063\u3051\uff1f\u300d\u3068\u30b0\u30b0\u3063\u3066\u3044\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b Golang \u3067\u66f8\u3044\u3066\u307f\u305f\u3068\u3067\u3059\u3002 \u540d\u4ed8\u3051\u3066 nen.go\uff08\u306d\u3093\u3054\u30fc\uff09\uff08\u5e74\u53f7\uff09\u3067\u3054\u308f\u3059\u3002 package main import ( \"flag\" \"fmt\" \"strconv\" ) func to_wareki(year string) (nen int) { var i int i, _ = strconv.Atoi(year[2:4]) nen = i + 12 return } func to_seireki(nen int) (year int) { year = \u2026","published":"2016-11-20 19:56:12","title":"\u4eca\u5e74\u3063\u3066\u5e73\u6210\u4f55\u5e74\u3060\u3063\u3051\u3092\u89e3\u6c7a\u3059\u308b\u70ba\u306b Golang \u3067\u30b3\u30de\u30f3\u30c9\u4f5c\u3063\u305f\u305c","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finokara.hateblo.jp%2Fentry%2F2016%2F11%2F20%2F195612\" title=\"\u4eca\u5e74\u3063\u3066\u5e73\u6210\u4f55\u5e74\u3060\u3063\u3051\u3092\u89e3\u6c7a\u3059\u308b\u70ba\u306b Golang \u3067\u30b3\u30de\u30f3\u30c9\u4f5c\u3063\u305f\u305c - \u3088\u3046\u3078\u3044\u306e\u65e5\u3005\u7cbe\u9032XP\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Go","\u96d1\u306a\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb"],"version":"1.0","image_url":null,"url":"https://inokara.hateblo.jp/entry/2016/11/20/195612","blog_url":"https://inokara.hateblo.jp/","blog_title":"\u3088\u3046\u3078\u3044\u306e\u65e5\u3005\u7cbe\u9032XP","author_name":"inokara"}