Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for People (0.23 sec)

  1. tests/scan_test.go

    	DB.Create(&PersonAddress{PersonID: person2.ID, AddressID: int(address1.ID)})
    
    	var personAddressInfoList []*PersonAddressInfo
    	if err := DB.Select("people.*, addresses.*").
    		Table("people").
    		Joins("inner join person_addresses on people.id = person_addresses.person_id").
    		Joins("inner join addresses on person_addresses.address_id = addresses.id").
    		Find(&personAddressInfoList).Error; err != nil {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat May 28 14:18:07 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  2. internal/rest/client.go

    				r := snapshot
    				return io.NopCloser(&r), nil
    			}
    		default:
    			// This is where we'd set it to -1 (at least
    			// if body != NoBody) to mean unknown, but
    			// that broke people during the Go 1.8 testing
    			// period. People depend on it being 0 I
    			// guess. Maybe retry later. See Issue 18117.
    		}
    		// For client requests, Request.ContentLength of 0
    		// means either actually 0, or unknown. The only way
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K bytes
    - Viewed (0)
  3. tests/table_test.go

    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    	r = dryDB.Table("`people`").Table("`user`").Find(&User{}).Statement
    	if !regexp.MustCompile("SELECT \\* FROM `user`").MatchString(r.Statement.SQL.String()) {
    		t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    	}
    
    	r = dryDB.Table("people as p").Table("user as u").Find(&User{}).Statement
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Mar 09 09:31:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/cmd/asm/main.go

    	switch *flags.Spectre {
    	default:
    		log.Printf("unknown setting -spectre=%s", *flags.Spectre)
    		os.Exit(2)
    	case "":
    		// nothing
    	case "index":
    		// known to compiler; ignore here so people can use
    		// the same list with -gcflags=-spectre=LIST and -asmflags=-spectrre=LIST
    	case "all", "ret":
    		ctxt.Retpoline = true
    	}
    
    	ctxt.Bso = bufio.NewWriter(os.Stdout)
    	defer ctxt.Bso.Flush()
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    )
    
    func fileFeatures(filename string, needApproval bool) []string {
    	bs, err := os.ReadFile(filename)
    	if err != nil {
    		log.Fatal(err)
    	}
    	s := string(bs)
    
    	// Diagnose common mistakes people make,
    	// since there is no apifmt to format these files.
    	// The missing final newline is important for the
    	// final release step of cat next/*.txt >go1.X.txt.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  6. cmd/sts-handlers_test.go

    						},
    						ldapUserPolicyMappings: map[string][]string{
    							"uid=dillon,ou=people,ou=swengg,dc=min,dc=io": {"mypolicy"},
    							"uid=liza,ou=people,ou=swengg,dc=min,dc=io":   {"consoleAdmin"},
    						},
    						ldapGroupPolicyMappings: map[string][]string{
    							"cn=projectb,ou=groups,ou=swengg,dc=min,dc=io": {"mypolicy"},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  7. tests/migrate_test.go

    	if err := DB.AutoMigrate(&MigratePerson{}); err != nil {
    		t.Fatalf("Failed to auto migrate, but got error %v", err)
    	}
    
    	if !DB.Migrator().HasConstraint("migrate_people", "fk_migrate_people_manager") {
    		t.Fatalf("Failed to find has one constraint between people and managers")
    	}
    }
    
    func TestSmartMigrateColumn(t *testing.T) {
    	fullSupported := map[string]bool{"mysql": true, "postgres": true}[DB.Dialector.Name()]
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    	}
    }
    
    // fieldPrefix returns the prefix that should be removed from all the
    // field names when generating the C or Go code. For generated
    // C, we leave the names as is (tv_sec, tv_usec), since that's what
    // people are used to seeing in C.  For generated Go code, such as
    // package syscall's data structures, we drop a common prefix
    // (so sec, usec, which will get turned into Sec, Usec for exporting).
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top