Documentation ¶
Index ¶
- func GetHubFromType(t Type) (interfaces.Hub, error)
- type Testing
- func (hub Testing) DetectVersion() int
- func (hub *Testing) FillEra(era interfaces.Era, version int) error
- func (hub Testing) GetBaseStruct() any
- func (hub Testing) GetEraFromVersion(version int) (interfaces.Era, error)
- func (hub Testing) GetMaxVersion() int
- func (hub Testing) GetMinVersion() int
- func (hub Testing) GetVersionStructs() []interfaces.Era
- func (hub Testing) GetVersions() []int
- func (hub Testing) ToEra(target any) error
- type TestingAllFields
- type TestingVersions
- type Type
- type User
- func (hub User) DetectVersion() int
- func (hub *User) FillEra(era interfaces.Era, version int) error
- func (hub User) GetBaseStruct() any
- func (hub User) GetEraFromVersion(version int) (interfaces.Era, error)
- func (hub User) GetMaxVersion() int
- func (hub User) GetMinVersion() int
- func (hub User) GetVersionStructs() []interfaces.Era
- func (hub User) GetVersions() []int
- func (hub User) ToEra(target any) error
- type UserAllFields
- type UserVersions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHubFromType ¶
func GetHubFromType(t Type) (interfaces.Hub, error)
Types ¶
type Testing ¶
type Testing struct { TestingAllFields TestingVersions }
Testing struct
func (Testing) DetectVersion ¶
func (Testing) GetBaseStruct ¶
func (Testing) GetEraFromVersion ¶
func (hub Testing) GetEraFromVersion(version int) (interfaces.Era, error)
func (Testing) GetMaxVersion ¶
func (Testing) GetMinVersion ¶
func (Testing) GetVersionStructs ¶
func (hub Testing) GetVersionStructs() []interfaces.Era
GetVersionStructs method for the struct
func (Testing) GetVersions ¶
type TestingAllFields ¶
type TestingVersions ¶
TestingVersions struct
type User ¶
type User struct { UserAllFields UserVersions }
User struct
func (User) DetectVersion ¶
func (User) GetBaseStruct ¶
func (User) GetEraFromVersion ¶
func (hub User) GetEraFromVersion(version int) (interfaces.Era, error)
func (User) GetMaxVersion ¶
func (User) GetMinVersion ¶
func (User) GetVersionStructs ¶
func (hub User) GetVersionStructs() []interfaces.Era
GetVersionStructs method for the struct
func (User) GetVersions ¶
type UserAllFields ¶
type UserAllFields struct { InEveryVersion *string `json:"in_every_version"` OnlyIn1 *int `json:"only_in_1"` From2ToEnd *uint8 `json:"from_2_to_end"` FromStartTo3 *[]byte `json:"from_start_to_3"` From1to4 *float32 `json:"from_1_to_4"` OnlyIn5 *rune `json:"only_in_5"` WorksWithMaps *map[string]int64 AndMapsInMaps *map[string]map[string]int64 AndSlices *[]int AndPointers **int AndDoublePointers ***int AndGenerics *any AndOldGenerics *any }
Click to show internal directories.
Click to hide internal directories.