Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TodoItem ¶
type TodoItem struct { ID string `json:"id" gorm:"type:uuid;default:uuid_generate_v4();primarykey"` Description string `json:"description"` DueDate time.Time `json:"dueDate"` FileID string `json:"fileId"` CreatedAt time.Time UpdatedAt time.Time DeletedAt gorm.DeletedAt `gorm:"index"` }
NOTE : as "D" principal of SOLID, abstraction must not has any dependency to technology or low/hig level modules. but for simplicity and also using generic repo layer, gorm tags has been applied in the service model.
Click to show internal directories.
Click to hide internal directories.