大è¦æ¨¡ãªã³ã¼ããã¼ã¹ã§ãªãã¡ã¯ã¿ãªã³ã°ãçã¨ãåããããã«codemodãæè¿èª¿ã¹ã¦ãã¦ã軽ã試è¡é¯èª¤ããã®ã§ãã®ã¡ã¢ã ããããã㨠ä¾ãã°ä»¥ä¸ã®ãããªTable Driven Testãªã³ã¼ããBEFOREããAFTERã«æ¸ãæããããã³ã¼ãéãå¤ããã人éãããã®ã¯ç¾å®çã§ã¯ãªããcodemodã§æ©æ¢°çã«æ¸ãæãããã BEFORE package main import ( "slices" "testing" ) func TestContains(t *testing.T) { type args struct { ss []string s string } tests := []struct { name string args args want bool }{ { name: "empty: false", args: args{[]string{}, ""}, wan
{{#tags}}- {{label}}
{{/tags}}