Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MasterUser ¶
type MasterUser struct { ID int64 `json:"id" gorm:"primary_key"` Username string `json:"username" gorm:"unique; not null"` Email string `json:"email" gorm:"unique; not null"` Birthday string `json:"birthday" gorm:"not null"` FullName string `json:"fullName" gorm:"not null"` CreatedAt time.Time `json:"createdAt" gorm:"not null"` UpdatedAt *time.Time `json:"updatedAt"` DeletedAt *time.Time `json:"-"` }
MasterUser ...
type UserDiary ¶
type UserDiary struct { ID int64 `json:"id" gorm:"primary_key"` UserID int64 `json:"userId" gorm:"not null"` Title string `json:"title" gorm:"not null"` BodyText string `json:"bodyText" gorm:"not null"` DatePost time.Time `json:"datePost" gorm:"not null"` CreatedAt time.Time `json:"createdAt" gorm:"not null"` UpdatedAt *time.Time `json:"updatedAt"` DeletedAt *time.Time `json:"deletedAt"` }
Click to show internal directories.
Click to hide internal directories.