- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 754 for Struct (0.13 sec)
-
tests/submodel_test.go
t.Fatalf("unexpected error: %v", err) } if err := DB.Model(&man).Where("id = ?", man.ID).Updates(struct { Age int }{Age: 20}).Error; err != nil { t.Fatalf("unexpected error: %v", err) } var result = struct{ ID int Age int }{} if err := DB.Model(&man).Where("id = ?", man.ID).Find(&result).Error; err != nil { t.Fatalf("unexpected error: %v", err) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Aug 20 04:51:17 UTC 2025 - 944 bytes - Viewed (0) -
cmd/object-api-utils_test.go
t.Errorf("path traversal allowed to allow writing to minioMetaBucket: %s", instanceType) } } } } // Tests validate bucket name. func TestIsValidBucketName(t *testing.T) { testCases := []struct { bucketName string shouldPass bool }{ // cases which should pass the test. // passing in valid bucket names. {"lol", true}, {"1-this-is-valid", true}, {"1-this-too-is-valid-1", true},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 24.1K bytes - Viewed (0) -
cmd/storage-datatypes.go
type CheckPartsResp struct { Results []int `msg:"r"` } // LocalDiskIDs - GetLocalIDs response. type LocalDiskIDs struct { IDs []string `msg:"i"` } // ListDirResult - ListDir()'s response. type ListDirResult struct { Entries []string `msg:"e"` } // ReadPartsReq - send multiple part paths to read from type ReadPartsReq struct { Paths []string `msg:"p"` }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 17.4K bytes - Viewed (0) -
model.go
package gorm import "time" // Model a basic GoLang struct which includes the following fields: ID, CreatedAt, UpdatedAt, DeletedAt // It may be embedded into your model or you may build your own model without it // // type User struct { // gorm.Model // } type Model struct { ID uint `gorm:"primarykey"` CreatedAt time.Time UpdatedAt time.Time DeletedAt DeletedAt `gorm:"index"`
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sat Feb 18 01:06:43 UTC 2023 - 396 bytes - Viewed (0) -
cmd/site-replication-metrics.go
"github.com/minio/minio-go/v7" ) //go:generate msgp -file $GOFILE // RStat has replication error stats type RStat struct { Count int64 `json:"count"` Bytes int64 `json:"bytes"` } // RTimedMetrics has replication error stats for various time windows type RTimedMetrics struct { LastHour ReplicationLastHour `json:"lastHour"` SinceUptime RStat `json:"sinceUptime"` LastMinute ReplicationLastMinute
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.2K bytes - Viewed (0) -
api/go1.16.txt
pkg go/build/constraint, type OrExpr struct pkg go/build/constraint, type OrExpr struct, X Expr pkg go/build/constraint, type OrExpr struct, Y Expr pkg go/build/constraint, type SyntaxError struct pkg go/build/constraint, type SyntaxError struct, Err string pkg go/build/constraint, type SyntaxError struct, Offset int pkg go/build/constraint, type TagExpr struct pkg go/build/constraint, type TagExpr struct, Tag string
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Dec 02 16:30:41 UTC 2022 - 479.2K bytes - Viewed (0) -
cmd/batch-job-common-types.go
) //go:generate msgp -file $GOFILE //msgp:ignore BatchJobYamlErr // BatchJobYamlErr can be used to return yaml validation errors with line, // column information guiding user to fix syntax errors type BatchJobYamlErr struct { line, col int msg string } // message returns the error message excluding line, col information. // Intended to be used in unit tests. func (b BatchJobYamlErr) message() string { return b.msg }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.9K bytes - Viewed (0) -
cmd/bucket-lifecycle_test.go
"github.com/minio/minio/internal/bucket/lifecycle" xhttp "github.com/minio/minio/internal/http" ) // TestParseRestoreObjStatus tests parseRestoreObjStatus func TestParseRestoreObjStatus(t *testing.T) { testCases := []struct { restoreHdr string expectedStatus restoreObjStatus expectedErr error }{ { // valid: represents a restored object, 'pending' expiry.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 31 09:57:57 UTC 2022 - 7K bytes - Viewed (0) -
api/go1.22.txt
pkg syscall (linux-386), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-386-cgo), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-amd64), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-amd64-cgo), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-arm), type SysProcAttr struct, PidFD *int #51246 pkg syscall (linux-arm-cgo), type SysProcAttr struct, PidFD *int #51246
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 24 20:54:27 UTC 2024 - 7.7K bytes - Viewed (0) -
cmd/untar.go
}, { header: []byte{0x42, 0x5a, 'h'}, f: formatBZ2, }, } type untarOptions struct { ignoreDirs bool ignoreErrs bool prefixAll string } // disconnectReader will ensure that no reads can take place on // the upstream reader after close has been called. type disconnectReader struct { r io.Reader mu sync.Mutex } func (d *disconnectReader) Read(p []byte) (n int, err error) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 6K bytes - Viewed (2)