{"author_name":"utgwkk","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.utgw.net%2Fentry%2F2026%2F06%2F30%2F232839\" title=\"Go\u306estruct\u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u95a2\u6570\u3092\u30b3\u30fc\u30c9\u751f\u6210\u3059\u308b\u30c4\u30fc\u30eb gosimplectorgen \u3092\u30ea\u30ea\u30fc\u30b9\u3057\u305f - \u79c1\u304c\u6b4c\u5ddd\u3067\u3059\" 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","blog_url":"https://blog.utgw.net/","title":"Go\u306estruct\u306e\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u95a2\u6570\u3092\u30b3\u30fc\u30c9\u751f\u6210\u3059\u308b\u30c4\u30fc\u30eb gosimplectorgen \u3092\u30ea\u30ea\u30fc\u30b9\u3057\u305f","author_url":"https://blog.hatena.ne.jp/utgwkk/","published":"2026-06-30 23:28:39","categories":["\u6280\u8853","Go"],"width":"100%","image_url":null,"description":"\u306f\u3058\u3081\u306b \u8868\u984c\u306e\u3082\u306e\u3092\u30ea\u30ea\u30fc\u30b9\u3057\u307e\u3057\u305f\u3002 github.com go install \u30b3\u30de\u30f3\u30c9\u3082\u3057\u304f\u306f go get -tool \u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u3046\u3053\u3068\u3092\u63a8\u5968\u3057\u3066\u3044\u307e\u3059\u3002\u73fe\u4ee3\u306a\u306e\u3067 go get -tool \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3046\u306e\u304c\u3044\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u3069\u3046\u3044\u3046\u30c4\u30fc\u30eb\u306a\u306e\u304b \u305f\u3068\u3048\u3070\u3001resolver.go \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306astruct\u5b9a\u7fa9\u304c\u3042\u3063\u305f\u3068\u3057\u307e\u3059\u3002\u5404 Usecase \u578b\u306finterface\u306b\u306a\u3063\u3066\u304a\u308a\u3001\u5bfe\u5fdc\u3059\u308b\u5b9f\u88c5\u3092\u4f55\u3089\u304b\u306e\u65b9\u6cd5\u3067\u4f9d\u5b58\u6ce8\u5165\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 type Resolver struct { user user.Usecase blog blog.Useca\u2026","blog_title":"\u79c1\u304c\u6b4c\u5ddd\u3067\u3059","version":"1.0","url":"https://blog.utgw.net/entry/2026/06/30/232839","height":"190"}