{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpod.hatenablog.com%2Fentry%2F2019%2F08%2F30%2F230551\" title=\"go\u3067required/unrequired\u306b\u5bfe\u5fdc\u3057\u3064\u3064pointer\u3092\u4f7f\u308f\u306a\u3044unmarshalJSON\u306e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u3064\u3044\u3066 - podhmo&#39;s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://pod.hatenablog.com/entry/2019/08/30/230551","height":"190","author_url":"https://blog.hatena.ne.jp/podhmo/","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","version":"1.0","description":"\u6614\u4ee5\u4e0b\u306e\u69d8\u306a\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u3044\u305f\u3002 go\u3067JSON\u306eunmarshal\u6642\u306erequired\u306afield\u306e\u6271\u3044\u306b\u3064\u3044\u3066 \u30ea\u30f3\u30af\u5148\u306e\u8a18\u4e8b\u3067\u306fpointer\u3092\u4f7f\u308f\u306a\u3044struct\u5b9a\u7fa9\u306b\u5bfe\u3057\u3066UnmarshalJSON\u3092\u81ea\u524d\u3067\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u3067\u3069\u3046\u306b\u304b\u3084\u308d\u3046\u3068\u3044\u3046\u611f\u3058\u306e\u3082\u306e\u3060\u3063\u305f\u3002\u305f\u3060\u3057\u3053\u306e\u30ea\u30f3\u30af\u5148\u306e\u8a18\u4e8b\u306e\u5b9f\u88c5\u3067\u306f\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u4e0d\u5099\u304c\u3042\u3063\u305f\uff08\u5f8c\u8ff0\u3059\u308b\uff09\u3002\u3053\u308c\u3092\u6539\u5584\u3067\u304d\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u65b9\u6cd5\u3092\u601d\u3044\u3064\u3044\u305f\u306e\u3067\u305d\u306e\u30e1\u30e2\u3002 \u306a\u305cpointer\u304c\u5fc5\u8981\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u304b? \u305d\u306e\u524d\u306b\u524d\u63d0\u306e\u78ba\u8a8d\u3002\u306a\u305cpointer\u304c\u5fc5\u8981\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u304b\u3068\u3044\u3046\u3068\u3053\u308c\u306fzero\u5024\u3068\u306e\u517c\u306d\u5408\u3044\u306e\u305f\u3081\u3002 \u4ee5\u4e0b\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306a\u3069\u306f\u30bc\u30ed\u5024\u3092unrequ\u2026","blog_title":"podhmo's diary","published":"2019-08-30 23:05:51","author_name":"podhmo","blog_url":"https://pod.hatenablog.com/","type":"rich","image_url":null,"title":"go\u3067required/unrequired\u306b\u5bfe\u5fdc\u3057\u3064\u3064pointer\u3092\u4f7f\u308f\u306a\u3044unmarshalJSON\u306e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u3064\u3044\u3066","categories":["golang","json"],"width":"100%"}