models

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskModel

type TaskModel struct {
	ID          int       `json:"id"`
	Title       string    `json:"title" validate:"required,min=3,max=32"`
	Description string    `json:"description" validate:"min=3"`
	Color       string    `json:"color,omitempty"`
	StartsAt    time.Time `json:"starts_at"`
	DoneAt      time.Time `json:"done_at"`
	CreatedAt   time.Time `json:"created_at"`
	UpdatedAt   time.Time `json:"updated_at"`
	DeletedAt   time.Time `json:"deleted_at"`
}

Jump to

Keyboard shortcuts

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