Goè¨èªã§ãã¹ããæ¸ãéã®ãã¹ããã©ã¯ãã£ã¹ã¨ãã¦ããã¼ãã«é§åãã¹ãï¼Table dirven testsï¼ ã¨ããã®ãæ¨å¥¨ããã¦ãããããã¯ãã¼ã¿ã¨ãµãã¾ããåé¢ãã¾ãããã¨ãã話ã§ãæ£ç´ããããååãã¤ãããããªãã®ã§ããªãããã¨ããæ°æã¡ããªãã§ã¯ãªãããã¾ã話ãã¯ããã¦ãããã ãã©ã¿ããªã»ãã¨ã«ããã§æºè¶³ãã¦ãã®ï¼ ã¨çåã«æãã¨ããã¯ããããã¹ããè½ã¡ãã¨ãã«è¡¨ç¤ºãããè¡çªå·ããã¹ãã±ã¼ã¹ã«ãããä¸å®ã§ãã©ã®ãã¹ããè½ã¡ãã®ããæ¢ãã®ã«ä¸æéããã£ã¦ãã¾ãã ãã¨ãã°ä»¥ä¸ã®ã³ã¼ãããã¹ãããéã package eg import "testing" func TestExample(t *testing.T) { testcases := []struct { name string a, b int sum int }{ {"1+1", 1, 1, 99}, {"2+2"
{{#tags}}- {{label}}
{{/tags}}