domain

package
v0.0.0-...-d6184f6 Latest Latest
Warning

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

Go to latest
Published: May 5, 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 Model

type Model struct {
	UID       string    `json:"uid"`
	CreatedAt time.Time `json:"-"`
	UpdatedAt time.Time `json:"-"`
}

type Task

type Task struct {
	Model
	Content  string     `json:"content"`
	Status   TaskStatus `json:"status"`
	Priority int        `json:"priority"`
}

type TaskStatus

type TaskStatus string
const (
	TaskIncomplete TaskStatus = "Incomplete"
	TaskCompleted  TaskStatus = "Completed"
)

Jump to

Keyboard shortcuts

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