Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskCreateDTO ¶
type TaskCreateDTO struct { WhatToDo string `json:"description" mapstructure:"description" binding:"required"` Status string `json:"status" mapstructure:"status" binding:"required"` }
func FactoryTaskCreateDTO ¶
func FactoryTaskCreateDTO(task *Task) *TaskCreateDTO
func (*TaskCreateDTO) ReverseCreateDTO ¶
func (dto *TaskCreateDTO) ReverseCreateDTO() *Task
type TaskPublicDTO ¶
type TaskPublicDTO struct { UUID uuid.UUID `json:"task_uuid" mapstructure:"task_uuid" binding:"required"` WhatToDo string `json:"description" mapstructure:"description" binding:"required"` Status string `json:"status" mapstructure:"status" binding:"required"` CreatedAt time.Time `json:"created_at" mapstructure:"created_at" binding:"required"` LastUpdated time.Time `json:"last_updated" mapstructure:"last_updated" binding:"required"` }
func FactoryTaskPublicDTO ¶
func FactoryTaskPublicDTO(task *Task) *TaskPublicDTO
func (*TaskPublicDTO) ReversePublicDTO ¶
func (dto *TaskPublicDTO) ReversePublicDTO() *Task
type TaskUpdateDTO ¶
type TaskUpdateDTO struct { WhatToDo string `json:"description" mapstructure:"description" binding:"required"` Status string `json:"status" mapstructure:"status" binding:"required"` }
func FactoryTaskUpdateDTO ¶
func FactoryTaskUpdateDTO(task *Task) *TaskUpdateDTO
func (*TaskUpdateDTO) ReverseUpdateDTO ¶
func (dto *TaskUpdateDTO) ReverseUpdateDTO() *Task
Click to show internal directories.
Click to hide internal directories.