func Test(t *testing.T) {
        testCases := []struct {
          desc  string
          
        }{
          {
            desc: "",
            
          },
        }
        for _, tC := range testCases {
          t.Run(tC.desc, func(t *testing.T) {
            
          })
        }
      }

      Go language logo
      table driven test

      Go Code Snippets

      This code runs a test case.

      Shortcut: tdt

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.