package
Version:
v0.0.0-...-602eda8
Opens a new window with list of versions in this module.
Published: Dec 24, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type HTTPResponse struct {
Status int
Message string
Result interface{}
}
type SaveTodoRequest struct {
Title string `json:"title"`
Description string `json:"description"`
DueDate string `json:"dueDate"`
}
type Todo struct {
Id string `db:"id"`
Title string `db:"title"`
Description string `db:"description"`
Status string `db:"status"`
CreatedDate time.Time `db:"createdDate"`
UpdatedDate *time.Time `db:"updatedDate"`
DueDate *time.Time `db:"dueDate"`
}
type UpdateTodoRequest struct {
Title string `json:"title"`
Description string `json:"description"`
Status string `json:"status"`
DueDate string `json:"dueDate"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.