Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for valfunc (0.2 sec)

  1. src/database/sql/sql_test.go

    	}
    	conn.dc.ci.(*fakeConn).skipDirtySession = true
    	defer conn.Close()
    
    	sawFunc := false
    	err = conn.Raw(func(dc any) error {
    		sawFunc = true
    		if _, ok := dc.(*fakeConn); !ok {
    			return fmt.Errorf("got %T want *fakeConn", dc)
    		}
    		return nil
    	})
    	if err != nil {
    		t.Fatal(err)
    	}
    	if !sawFunc {
    		t.Fatal("Raw func not called")
    	}
    
    	func() {
    		defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  2. src/cmd/go/alldocs.go

    // binary. Only a high-confidence subset of the default go vet checks are
    // used. That subset is: atomic, bool, buildtags, directive, errorsas,
    // ifaceassert, nilfunc, printf, and stringintconv. You can see
    // the documentation for these and other vet tests via "go doc cmd/vet".
    // To disable the running of go vet, use the -vet=off flag. To run all
    // checks, use the -vet=all flag.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top