Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Method (0.16 sec)

  1. tests/connection_test.go

    			return err
    		}
    		return nil
    	})
    	if err != nil {
    		t.Errorf(fmt.Sprintf("WithSingleConnection should work, but got err %v", err))
    	}
    
    	if actualName != expectedName {
    		t.Errorf("WithSingleConnection() method should get correct value, expect: %v, got %v", expectedName, actualName)
    	}
    }
    
    func getSetSQL(driverName string) (string, string) {
    	switch driverName {
    	case mysql.Dialector{}.Name():
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 28 14:16:42 GMT 2022
    - 963 bytes
    - Viewed (0)
  2. internal/grid/connection_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    	wrapServer := func(handler http.Handler) http.Handler {
    		return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    			t.Logf("Got a %s request for: %v", r.Method, r.URL)
    			handler.ServeHTTP(w, r)
    		})
    	}
    	connReady := make(chan struct{})
    	// We fake a local and remote server.
    	localHost := hosts[0]
    	remoteHost := hosts[1]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top