{"published":"2023-07-09 13:33:49","author_name":"utgwkk","type":"rich","version":"1.0","provider_url":"https://hatena.blog","blog_title":"\u79c1\u304c\u6b4c\u5ddd\u3067\u3059","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.utgw.net%2Fentry%2F2023%2F07%2F09%2F133349\" title=\"mockgen\u306e\u30b3\u30fc\u30c9\u751f\u6210\u30921\u56de\u306b\u307e\u3068\u3081\u3066\u9ad8\u901f\u5316\u3059\u308b\u30c4\u30fc\u30ebbulkmockgen\u3092\u4f5c\u3063\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>","blog_url":"https://blog.utgw.net/","description":"tl;dr \u8868\u984c\u306e\u3088\u3046\u306a\u30c4\u30fc\u30eb\u3092\u4f5c\u308a\u307e\u3057\u305f\u3002go install \u30b3\u30de\u30f3\u30c9\u3067\u305f\u3060\u3061\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002 $ go install github.com/utgwkk/bulkmockgen/cmd/bulkmockgen@latest \u5f93\u6765\u306e //go:generate \u30b3\u30e1\u30f3\u30c8\u304b\u3089\u79fb\u884c\u3059\u308b\u30c4\u30fc\u30eb\u3082\u3042\u308a\u307e\u3059\u3002 $ go install github.com/utgwkk/bulkmockgen/cmd/mockgen-to-bulkmockgen@latest tl;dr \u8ab2\u984c\u611f \u30e2\u30c3\u30af\u3092\u4f7f\u3063\u305f\u958b\u767a\u3068\u554f\u984c mockgen\u306e\u30b3\u30fc\u30c9\u751f\u6210\u306b\u6642\u9593\u304c\u304b\u304b\u308b //go:generate \u30b3\u30de\u30f3\u30c9\u30921\u884c\u2026","provider_name":"Hatena Blog","height":"190","title":"mockgen\u306e\u30b3\u30fc\u30c9\u751f\u6210\u30921\u56de\u306b\u307e\u3068\u3081\u3066\u9ad8\u901f\u5316\u3059\u308b\u30c4\u30fc\u30ebbulkmockgen\u3092\u4f5c\u3063\u305f","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/u/utgwkk/20230708/20230708230945.png","categories":["\u6280\u8853","Go"],"width":"100%","author_url":"https://blog.hatena.ne.jp/utgwkk/","url":"https://blog.utgw.net/entry/2023/07/09/133349"}