- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 994 for Structs (0.19 sec)
-
schema/index_test.go
CompIdxLevel2C } type CompIdxLevel1C struct { CompIdxLevel1B Data1C string `gorm:"index:,composite:comp_id1"` } type CompIdxLevel1B struct { Data1B string `gorm:"index:,composite:comp_id1"` } type CompIdxLevel2C struct { CompIdxLevel2B Data2C string `gorm:"index:,unique,composite:comp_id2,priority:1"` } type CompIdxLevel2B struct {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 8K bytes - Viewed (0) -
internal/config/storageclass/storage-class_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package storageclass import ( "errors" "reflect" "testing" ) func TestParseStorageClass(t *testing.T) { tests := []struct { storageClassEnv string wantSc StorageClass expectedError error }{ { "EC:3", StorageClass{ Parity: 3, }, nil, }, { "EC:4", StorageClass{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 15 23:04:20 UTC 2023 - 4.3K bytes - Viewed (0) -
internal/grid/msg.go
return OpConnectResponse } type muxConnectError struct { Error string } func (muxConnectError) Op() Op { return OpMuxConnectError } type pongMsg struct { NotFound bool `msg:"nf"` Err *string `msg:"e,allownil"` T time.Time `msg:"t"` } func (pongMsg) Op() Op { return OpPong } type pingMsg struct { T time.Time `msg:"t"` }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:07:21 UTC 2024 - 7.6K bytes - Viewed (0) -
schema/relationship.go
} } } // User has many Toys, its `Polymorphic` is `Owner`, Pet has one Toy, its `Polymorphic` is `Owner` // // type User struct { // Toys []Toy `gorm:"polymorphic:Owner;"` // } // type Pet struct { // Toy Toy `gorm:"polymorphic:Owner;"` // } // type Toy struct { // OwnerID int // OwnerType string // } func (schema *Schema) buildPolymorphicRelation(relation *Relationship, field *Field) {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 03:46:59 UTC 2024 - 22.7K bytes - Viewed (0) -
callbacks/associations.go
for i := 0; i < db.Statement.ReflectValue.Len(); i++ { obj := db.Statement.ReflectValue.Index(i) if reflect.Indirect(obj).Kind() == reflect.Struct { appendToElems(obj) } } case reflect.Struct: appendToElems(db.Statement.ReflectValue) } if elems.Len() > 0 { assignmentColumns := make([]string, 0, len(rel.References))
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Apr 11 03:06:13 UTC 2023 - 14.3K bytes - Viewed (0) -
cmd/bucket-stats.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 11:39:51 UTC 2024 - 13.4K bytes - Viewed (0) -
api/go1.21.txt
pkg crypto/tls, type QUICEvent struct #44886 pkg crypto/tls, type QUICEvent struct, Data []uint8 #44886 pkg crypto/tls, type QUICEvent struct, Kind QUICEventKind #44886 pkg crypto/tls, type QUICEvent struct, Level QUICEncryptionLevel #44886 pkg crypto/tls, type QUICEvent struct, Suite uint16 #44886 pkg crypto/tls, type SessionState struct #60105 pkg crypto/tls, type SessionState struct, EarlyData bool #60107
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 07 09:39:17 UTC 2023 - 25.6K 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 Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 8.2K bytes - Viewed (0) -
internal/etag/etag_test.go
package etag import ( "context" "io" "net/http" "strings" "testing" ) var _ Tagger = Wrap(nil, nil).(Tagger) // runtime check that wrapReader implements Tagger var parseTests = []struct { String string ETag ETag ShouldFail bool }{ {String: "3b83ef96387f1465", ETag: ETag{59, 131, 239, 150, 56, 127, 20, 101}}, // 0
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 18 17:00:54 UTC 2023 - 12.6K bytes - Viewed (0) -
internal/event/name_test.go
package event import ( "encoding/json" "encoding/xml" "reflect" "testing" ) func TestNameExpand(t *testing.T) { testCases := []struct { name Name expectedResult []Name }{ {BucketCreated, []Name{BucketCreated}}, {BucketRemoved, []Name{BucketRemoved}},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 7.4K bytes - Viewed (0)