Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChildExampleDao ¶
type ChildExampleDao struct { Id string `json:"id,omitempty"` CreatedAt time.Time UpdatedAt time.Time DeletedAt gorm.DeletedAt }
func (*ChildExampleDao) FromProto ¶
func (d *ChildExampleDao) FromProto(v *ChildExample) *ChildExampleDao
func (*ChildExampleDao) ToProto ¶
func (d *ChildExampleDao) ToProto() *ChildExample
type ExampleDao ¶
type ExampleDao struct { Id string `json:"id,omitempty" gorm:"autoIncrement"` GormTestPrimary string `json:"gorm_test_primary,omitempty" gorm:"primaryKey"` GormTestInt int32 `json:"gorm_test_int,omitempty" gorm:"not null"` GormTestBigInt int64 `json:"gorm_test_big_int,omitempty"` GormTestString string `json:"gorm_test_string,omitempty"` GormTestFloat float32 `json:"gorm_test_float,omitempty"` GormTestDouble float64 `json:"gorm_test_double,omitempty"` GormTestIndex float64 `json:"gorm_test_index,omitempty" gorm:"index"` GormTestUniqueIndex float64 `json:"gorm_test_unique_index,omitempty" gorm:"uniqueIndex"` Child *ChildExampleDao `json:"child,omitempty"` ListChilds []*ChildExampleDao `json:"list_childs,omitempty"` CreatedAt time.Time UpdatedAt time.Time DeletedAt gorm.DeletedAt }
func (*ExampleDao) FromProto ¶
func (d *ExampleDao) FromProto(v *Example) *ExampleDao
func (*ExampleDao) ToProto ¶
func (d *ExampleDao) ToProto() *Example
Click to show internal directories.
Click to hide internal directories.