Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 829 for struct (0.21 sec)

  1. src/archive/zip/struct.go

    )
    
    // FileHeader describes a file within a ZIP file.
    // See the [ZIP specification] for details.
    //
    // [ZIP specification]: https://support.pkware.com/pkzip/appnote
    type FileHeader struct {
    	// Name is the name of the file.
    	//
    	// It must be a relative path, not start with a drive letter (such as "C:"),
    	// and must use forward slashes instead of back slashes. A trailing slash
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  2. tests/embedded_struct_test.go

    )
    
    func TestEmbeddedStruct(t *testing.T) {
    	type ReadOnly struct {
    		ReadOnly *bool
    	}
    
    	type BasePost struct {
    		Id    int64
    		Title string
    		URL   string
    		ReadOnly
    	}
    
    	type Author struct {
    		ID    string
    		Name  string
    		Email string
    	}
    
    	type HNPost struct {
    		BasePost
    		Author  `gorm:"EmbeddedPrefix:user_"` // Embedded struct
    		Upvotes int32
    	}
    
    	type EngadgetPost struct {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Oct 26 03:58:13 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  3. tests/migrate_test.go

    	type UserStat struct {
    		GroundDestroyCount int
    	}
    
    	type GameUser struct {
    		gorm.Model
    		StatAb UserStat `gorm:"embedded;embeddedPrefix:stat_ab_"`
    	}
    
    	type UserStat1 struct {
    		GroundDestroyCount string
    	}
    
    	type GroundRate struct {
    		GroundDestroyCount int
    	}
    
    	type GameUser1 struct {
    		gorm.Model
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  4. schema/relationship_test.go

    	})
    }
    
    func TestEmbeddedBelongsTo(t *testing.T) {
    	type Country struct {
    		ID   int `gorm:"primaryKey"`
    		Name string
    	}
    	type Address struct {
    		CountryID int
    		Country   Country
    	}
    	type NestedAddress struct {
    		Address
    	}
    	type CountryMixin struct {
    		CountryID int
    		Country   Country
    	}
    	type Org struct {
    		ID              int
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/api.go

    }
    
    type ApplicationTunnel struct {
    	Protocol string  `json:"protocol"`
    	Port     *uint16 `json:"port,omitempty"`
    }
    
    type Waypoint struct {
    	Destination string `json:"destination"`
    }
    
    type LoadBalancer struct {
    	Mode               string   `json:"mode"`
    	RoutingPreferences []string `json:"routingPreferences"`
    }
    
    type ZtunnelService struct {
    	Name         string         `json:"name"`
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 25 02:16:06 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. 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
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Viewed (0)
  7. api/except.txt

    pkg syscall (freebsd-386), type Dirent struct, Fileno uint32
    pkg syscall (freebsd-386), type Dirent struct, Namlen uint8
    pkg syscall (freebsd-386), type Stat_t struct, Blksize uint32
    pkg syscall (freebsd-386), type Stat_t struct, Dev uint32
    pkg syscall (freebsd-386), type Stat_t struct, Gen uint32
    pkg syscall (freebsd-386), type Stat_t struct, Ino uint32
    pkg syscall (freebsd-386), type Stat_t struct, Lspare int32
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu May 25 00:13:30 GMT 2023
    - 34.6K bytes
    - Viewed (0)
  8. cmd/storage-datatypes.go

    type RenameDataResp struct {
    	Sign       []byte
    	OldDataDir string // contains '<uuid>', it is designed to be passed as value to Delete(bucket, pathJoin(object, dataDir))
    }
    
    // LocalDiskIDs - GetLocalIDs response.
    type LocalDiskIDs struct {
    	IDs []string
    }
    
    // ListDirResult - ListDir()'s response.
    type ListDirResult struct {
    	Entries []string `msg:"e"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  9. logger/sql_test.go

    			NumericRegexp: nil,
    			Vars:          []interface{}{"jinzhu", 1, 999.99, true, []byte("12345"), tt, &tt, nil, "w@g.\"com", myrole, pwd, js, es},
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  10. utils/tests/models.go

    	Active    bool
    }
    
    type Account struct {
    	gorm.Model
    	UserID sql.NullInt64
    	Number string
    }
    
    type Pet struct {
    	gorm.Model
    	UserID *uint
    	Name   string
    	Toy    Toy `gorm:"polymorphic:Owner;"`
    }
    
    type Toy struct {
    	gorm.Model
    	Name      string
    	OwnerID   string
    	OwnerType string
    }
    
    type Tools struct {
    	gorm.Model
    	Name     string
    	CustomID string
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top