taskModel

package
v0.0.0-...-2602c8a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskRequest

type TaskRequest struct {
	UserID         uuid.UUID     `json:"userID" binding:"required"`
	DataRange      interface{}   `json:"dataRange" binding:"required"`
	ReminderPeriod sql.NullInt64 `json:"reminderPeriod" binding:"required"`
}

type TaskResponse

type TaskResponse struct {
	TableID        sql.NullInt64 `json:"tableID"`
	TaskID         uuid.UUID     `json:"taskID"`
	UserID         uuid.UUID     `json:"userID"`
	DataRange      interface{}   `json:"dataRange"`
	ReminderPeriod sql.NullInt64 `json:"reminderPeriod"`
	CreatedAt      sql.NullTime  `json:"createdAt"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL