{"width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevlights.hatenablog.com%2Fentry%2F2020%2F08%2F18%2F014703\" title=\"Go\u30e1\u30e2-102 (Explicit argument indexes, Printf\u3067\u540c\u3058\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4f7f\u3044\u56de\u3059) - \u3044\u308d\u3044\u308d\u5099\u5fd8\u9332\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2020-08-18 01:47:03","blog_url":"https://devlights.hatenablog.com/","blog_title":"\u3044\u308d\u3044\u308d\u5099\u5fd8\u9332\u65e5\u8a18","categories":["golang"],"author_url":"https://blog.hatena.ne.jp/gsf_zero1/","height":"190","type":"rich","version":"1.0","url":"https://devlights.hatenablog.com/entry/2020/08/18/014703","provider_name":"Hatena Blog","author_name":"gsf_zero1","title":"Go\u30e1\u30e2-102 (Explicit argument indexes, Printf\u3067\u540c\u3058\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u4f7f\u3044\u56de\u3059)","description":"\u6982\u8981 \u30b5\u30f3\u30d7\u30eb \u304a\u3059\u3059\u3081\u66f8\u7c4d \u6982\u8981 \u77e5\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u5fd8\u308c\u306a\u3044\u3046\u3061\u306b\u30e1\u30e2\u30e1\u30e2\u3002 Go \u3067\u3001fmt.Printf \u3068\u304b\u3059\u308b\u3068\u304d\u306b x := 1 fmt.Printf(\"%d(%T)\\n\", x, x) \u3068\u3044\u3046\u69d8\u306b\u540c\u3058\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8907\u6570\u56de\u4f7f\u3044\u305f\u3044\u3068\u304d\u306b\u3001\u4eca\u307e\u3067\u4e0a\u306e\u3088\u3046\u306b\u3084\u3063\u3066\u305f\u3093\u3067\u3059\u304c golang.org \u3092\u307f\u3066\u305f\u3089\u3001Explicit argument indexes \u3063\u3066\u306e\u304c\u3042\u308a\u307e\u3057\u305f\u3002 \u4ee5\u4e0b\u306e\u3088\u3046\u306b\u6307\u5b9a\u3067\u304d\u305f\u3093\u3067\u3059\u306d x := 1 fmt.Printf(\"%d(%[1]T)\\n\", x) Python\u3068\u304bC#\u3060\u3068\u3001\u3082\u3046\u5c11\u3057\u3044\u3044\u611f\u3058\u306b >>> x = 1 >>> print(f\"{x}({typ\u2026","provider_url":"https://hatena.blog","image_url":"https://m.media-amazon.com/images/I/41meaSLNFfL._SL160_.jpg"}