- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for fooba (0.02 seconds)
-
cmd/admin-handlers-users_test.go
}() } else { // Create a regular user and attach consoleAdmin policy err := s.adm.AddUser(ctx, "foobar", "foobar123") if err != nil { c.Fatalf("could not create user") } _, err = s.adm.AttachPolicy(ctx, madmin.PolicyAssociationReq{ Policies: []string{"consoleAdmin"}, User: "foobar", }) if err != nil { c.Fatalf("could not attach policy") }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 50.6K bytes - Click Count (0) -
tests/migrate_test.go
// currently it is only supported for mysql driver if !isMysql() { return } const tblName = "cities" const tblSchema = "gorm" const tblType = "BASE TABLE" const tblComment = "foobar comment" type City struct { gorm.Model Name string `gorm:"unique"` } DB.Migrator().DropTable(&City{}) if err := DB.Set("gorm:table_options",Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Aug 20 04:51:17 GMT 2025 - 65.2K bytes - Click Count (0) -
src/archive/zip/reader_test.go
} _, err = NewReader(bytes.NewReader(b), size) if err != ErrFormat { t.Errorf("sigs: error=%v, want %v", err, ErrFormat) } // negative size _, err = NewReader(bytes.NewReader([]byte("foobar")), -1) if err == nil { t.Errorf("archive/zip.NewReader: expected error when negative size is passed") } } func messWith(fileName string, corrupter func(b []byte)) (r io.ReaderAt, size int64) {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Oct 17 20:10:27 GMT 2025 - 56.5K bytes - Click Count (0)