- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewString (0.06 sec)
-
cmd/local-locker_test.go
rng.Read(tmp[:]) res := []string{hex.EncodeToString(tmp[:])} for range readers { rng.Read(tmp[:]) ok, err := l.RLock(t.Context(), dsync.LockArgs{ UID: uuid.NewString(), Resources: res, Source: hex.EncodeToString(tmp[:8]), Owner: hex.EncodeToString(tmp[8:]), Quorum: &quorum, }) if !ok || err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.8K bytes - Viewed (0) -
tests/generics_test.go
} } func TestGenericsScanUUID(t *testing.T) { ctx := context.Background() users := []User{ {Name: uuid.NewString(), Age: 21}, {Name: uuid.NewString(), Age: 22}, {Name: uuid.NewString(), Age: 23}, } if err := gorm.G[User](DB).CreateInBatches(ctx, &users, 2); err != nil { t.Fatalf("CreateInBatches failed: %v", err) } userIds := []uuid.UUID{}
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 28K bytes - Viewed (0)