- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 754 for Struct (0.43 sec)
-
tests/multi_primary_keys_test.go
t.Fatalf("EN Blog's tags should be cleared") } } func TestCompositePrimaryKeysAssociations(t *testing.T) { type Label struct { BookID *uint `gorm:"primarykey"` Name string `gorm:"primarykey"` Value string } type Book struct { ID int Name string Labels []Label } DB.Migrator().DropTable(&Label{}, &Book{})
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 13.1K bytes - Viewed (0) -
src/cmd/asm/internal/asm/pseudo_test.go
if len(s) == 0 { return res } for _, o := range strings.Split(s, ",") { res = append(res, lex.Tokenize(o)) } return res } func TestErroneous(t *testing.T) { type errtest struct { pseudo string operands string expected string } nonRuntimeTests := []errtest{ {"TEXT", "", "expect two or three operands for TEXT"}, {"TEXT", "%", "expect two or three operands for TEXT"},
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 3.1K bytes - Viewed (0) -
clause/locking.go
package clause const ( LockingStrengthUpdate = "UPDATE" LockingStrengthShare = "SHARE" LockingOptionsSkipLocked = "SKIP LOCKED" LockingOptionsNoWait = "NOWAIT" ) type Locking struct { Strength string Table Table Options string } // Name where clause name func (locking Locking) Name() string { return "FOR" } // Build build where clause func (locking Locking) Build(builder Builder) {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Dec 15 08:32:56 UTC 2023 - 773 bytes - Viewed (0) -
src/archive/tar/tar_test.go
"path" "path/filepath" "reflect" "slices" "strings" "testing" "time" ) type testError struct{ error } type fileOps []any // []T where T is (string | int64) // testFile is an io.ReadWriteSeeker where the IO operations performed // on it must match the list of operations in ops. type testFile struct { ops fileOps pos int64 } func (f *testFile) Read(b []byte) (int, error) { if len(b) == 0 {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 23.9K bytes - Viewed (0) -
cmd/batchjobmetric_string.go
package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[batchJobMetricReplication-0] _ = x[batchJobMetricKeyRotation-1] _ = x[batchJobMetricExpire-2] } const _batchJobMetric_name = "ReplicationKeyRotationExpire"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 797 bytes - Viewed (0) -
cmd/healingmetric_string.go
package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[healingMetricBucket-0] _ = x[healingMetricObject-1] _ = x[healingMetricCheckAbandonedParts-2] } const _healingMetric_name = "BucketObjectCheckAbandonedParts"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Nov 28 18:20:55 UTC 2022 - 789 bytes - Viewed (0) -
clause/insert.go
package clause type Insert struct { Table Table Modifier string } // Name insert clause name func (insert Insert) Name() string { return "INSERT" } // Build build insert clause func (insert Insert) Build(builder Builder) { if insert.Modifier != "" { builder.WriteString(insert.Modifier) builder.WriteByte(' ') } builder.WriteString("INTO ") if insert.Table.Name == "" {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Mar 09 09:07:00 UTC 2020 - 767 bytes - Viewed (0) -
clause/returning.go
package clause type Returning struct { Columns []Column } // Name where clause name func (returning Returning) Name() string { return "RETURNING" } // Build build where clause func (returning Returning) Build(builder Builder) { if len(returning.Columns) > 0 { for idx, column := range returning.Columns { if idx > 0 { builder.WriteByte(',') } builder.WriteQuoted(column) } } else {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun Jan 12 10:18:04 UTC 2025 - 777 bytes - Viewed (0) -
api/next/65954.txt
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Sep 04 18:07:44 UTC 2025 - 417 bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/0-heading.md
### Minor changes to the library {#minor_library_changes} #### go/types The `Var.Kind` method returns an enumeration of type `VarKind` that classifies the variable (package-level, local, receiver, parameter, result, or struct field). See issue #70250. Callers of `NewVar` or `NewParam` are encouraged to call `Var.SetKind`
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jul 23 18:41:17 UTC 2025 - 387 bytes - Viewed (0)