{"provider_name":"Hatena Blog","description":"\u5927\u898f\u6a21\u306a\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9\u3067\u30ea\u30d5\u30a1\u30af\u30bf\u30ea\u30f3\u30b0\u3092\u7701\u30a8\u30cd\u5316\u3059\u308b\u305f\u3081\u306bcodemod\u3092\u6700\u8fd1\u8abf\u3079\u3066\u3044\u3066\u3001\u8efd\u304f\u8a66\u884c\u932f\u8aa4\u3057\u305f\u306e\u3067\u305d\u306e\u30e1\u30e2\u3002 \u3084\u308a\u305f\u3044\u3053\u3068 \u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306aTable Driven Test\u306a\u30b3\u30fc\u30c9\u3092BEFORE\u304b\u3089AFTER\u306b\u66f8\u304d\u63db\u3048\u305f\u3044\u3002\u30b3\u30fc\u30c9\u91cf\u304c\u591a\u3044\u305f\u3081\u4eba\u9593\u304c\u3084\u308b\u306e\u306f\u73fe\u5b9f\u7684\u3067\u306f\u306a\u304f\u3001codemod\u3067\u6a5f\u68b0\u7684\u306b\u66f8\u304d\u63db\u3048\u305f\u3044\u3002 BEFORE package main import ( \"slices\" \"testing\" ) func TestContains(t *testing.T) { type args struct { ss []string s string } tests := [\u2026","version":"1.0","type":"rich","author_name":"oinume","title":"Go\u8a00\u8a9e\u3067codemod","provider_url":"https://hatena.blog","width":"100%","height":"190","image_url":null,"categories":["Go"],"blog_title":"oinume journal","url":"https://oinume.hatenablog.com/entry/codemod-in-go","blog_url":"https://oinume.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Foinume.hatenablog.com%2Fentry%2Fcodemod-in-go\" title=\"Go\u8a00\u8a9e\u3067codemod - oinume journal\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2024-08-13 08:00:00","author_url":"https://blog.hatena.ne.jp/oinume/"}