Documentation ¶ Index ¶ type NotificationModel type TaskModel func (t *TaskModel) User() *UserModel type UserModel func (u *UserModel) CreatedAt() time.Time func (u *UserModel) Fullname() string func (u *UserModel) Notifications() (result []*NotificationModel) func (u *UserModel) UpdatedAt() time.Time Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type NotificationModel ¶ type NotificationModel struct { ID int Title string Content string } type TaskModel ¶ type TaskModel struct { ID int UserID int Title string } func (*TaskModel) User ¶ func (t *TaskModel) User() *UserModel type UserModel ¶ type UserModel struct { ID int Tag *string } func (*UserModel) CreatedAt ¶ func (u *UserModel) CreatedAt() time.Time func (*UserModel) Fullname ¶ func (u *UserModel) Fullname() string func (*UserModel) Notifications ¶ func (u *UserModel) Notifications() (result []*NotificationModel) func (*UserModel) UpdatedAt ¶ func (u *UserModel) UpdatedAt() time.Time Source Files ¶ View all Source files model.go Click to show internal directories. Click to hide internal directories.