Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createMap (0.08 sec)

  1. tests/query_test.go

    		ID        int64
    		Name      string
    		UpdatedAt time.Time
    		CreatedAt time.Time
    	}
    
    	var simpleUser SimpleUser
    	if err := DB.Table("users").Where("name = ?", user.Name).First(&simpleUser).Error; err != nil {
    		t.Fatalf("Failed to query smaller user, got error %v", err)
    	}
    
    	AssertObjEqual(t, user, simpleUser, "Name", "ID", "UpdatedAt", "CreatedAt")
    
    	var simpleUser2 SimpleUser
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    				if err != nil {
    					return nil, err
    				}
    				if !opts.NoMetadata {
    					for i := range buckets {
    						createdAt, err := globalBucketMetadataSys.CreatedAt(buckets[i].Name)
    						if err == nil {
    							buckets[i].Created = createdAt
    						}
    					}
    				}
    				return buckets, nil
    			},
    		)
    
    		return listBucketsCache.GetWithCtx(ctx)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top