Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 4,759 for languages (0.06 seconds)

  1. tests/helper_test.go

    		}
    	})
    
    	t.Run("Languages", func(t *testing.T) {
    		if len(user.Languages) != len(expect.Languages) {
    			t.Fatalf("Languages should equal, expect: %v, got %v", len(expect.Languages), len(user.Languages))
    		}
    
    		sort.Slice(user.Languages, func(i, j int) bool {
    			return strings.Compare(user.Languages[i].Code, user.Languages[j].Code) > 0
    		})
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 8K bytes
    - Click Count (0)
  2. tests/create_test.go

    		*GetUser("bulk_5", Config{Account: false, Pets: 0, Toys: 3, Company: true, Manager: false, Team: 1, Languages: 3, Friends: 1}),
    		*GetUser("bulk_6", Config{Account: true, Pets: 4, Toys: 3, Company: false, Manager: true, Team: 1, Languages: 3, Friends: 0}),
    		*GetUser("bulk_7", Config{Account: true, Pets: 1, Toys: 3, Company: true, Manager: true, Team: 4, Languages: 3, Friends: 1}),
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 09:55:20 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  3. tests/associations_test.go

    	}
    	if err := DB.Model(&user).Association("Languages").Append(map[string]interface{}{"code": "am2m_map_3", "name": "AppendMap3"}); err != nil {
    		t.Fatalf("append map 3: %v", err)
    	}
    	AssertAssociationCount(t, user, "Languages", 3, "after append 3 maps total")
    
    	// Verify codes exist
    	var langs []Language
    	if err := DB.Model(&user).Association("Languages").Find(&langs); err != nil {
    		t.Fatalf("find languages: %v", err)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  4. tests/associations_many2many_test.go

    	}
    	languages2 := []Language{}
    	languages3 := []Language{
    		{Code: "language-many2many-append-3-1", Name: "language-many2many-append-3-1"},
    		{Code: "language-many2many-append-3-2", Name: "language-many2many-append-3-2"},
    	}
    	DB.Create(&languages1)
    	DB.Create(&languages3)
    
    	DB.Model(&users).Association("Languages").Append(&languages1, &languages2, &languages3)
    
    	AssertAssociationCount(t, users, "Languages", 9, "After Append")
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sat Jun 10 13:05:19 GMT 2023
    - 13.2K bytes
    - Click Count (0)
  5. .github/ISSUE_TEMPLATE/11-language-change.yml

    name: Language Change Proposals
    description: Changes to the language
    labels: ["Proposal", "LanguageChange", "LanguageChangeReview"]
    title: "proposal: spec: proposal title"
    
    
    body:
      - type: markdown
        attributes:
          value: |
           ## Our process for evaluating language changes can be found [here](https://go.googlesource.com/proposal/+/refs/heads/master#language-changes)
    
      - type: dropdown
        id: author-go-experience
        attributes:
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Aug 08 19:02:29 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  6. tests/update_test.go

    	result.Toys = append(user.Toys, result.Toys...)
    
    	sort.Slice(result.Languages, func(i, j int) bool {
    		return strings.Compare(result.Languages[i].Code, result.Languages[j].Code) > 0
    	})
    
    	sort.Slice(result.Toys, func(i, j int) bool {
    		return result.Toys[i].ID < result.Toys[j].ID
    	})
    
    	sort.Slice(result2.Languages, func(i, j int) bool {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  7. scripts/docs.py

                # Skip languages that are not yet ready
                continue
            code = lang_path.name
            languages.append({code: f"/{code}/"})
        for lang_dict in languages:
            code = list(lang_dict.keys())[0]
            url = lang_dict[code]
            if code not in local_language_names:
                print(
                    f"Missing language name for: {code}, "
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 21 17:40:17 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  8. tests/upsert_test.go

    	} else if len(langs2) != 3 {
    		t.Errorf("should only find only 3 languages, but got %+v", langs2)
    	}
    
    	DB.Clauses(clause.OnConflict{DoNothing: true}).Create(&langs)
    	var langs3 []Language
    	if err := DB.Find(&langs3, "code LIKE ?", "upsert-slice%").Error; err != nil {
    		t.Errorf("no error should happen when find languages with code, but got %v", err)
    	} else if len(langs3) != 3 {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Jul 29 11:06:13 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  9. tests/association_generics_test.go

    	}
    
    	// Verify the languages were associated using real database query
    	var updatedUser User
    	if err := DB.Preload("Languages").Where("id = ?", user.ID).First(&updatedUser).Error; err != nil {
    		t.Fatalf("failed to find updated user: %v", err)
    	}
    
    	if len(updatedUser.Languages) != 2 {
    		t.Fatalf("expected 2 languages, got %d", len(updatedUser.Languages))
    	}
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 05:42:26 GMT 2025
    - 37.9K bytes
    - Click Count (0)
  10. architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    Gradle's public API requires equal access from all JVM-based languages.
    Kotlin, Groovy, Java, and other JVM-based languages should be able to use the Gradle API without relying on another language's standard library.
    
    Historically, Gradle has shipped with some Groovy types in very prominent APIs.
    This required the Kotlin DSL to add special integration to work with Groovy closures.
    This has also forced plugins written in languages other than Groovy to use Groovy types for some APIs.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Mar 10 20:38:06 GMT 2024
    - 1.8K bytes
    - Click Count (0)
Back to Top