entity

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: May 9, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	STATUS_CREATED    = 0
	STATUS_PENDING    = 1
	STATUS_INPROGRESS = 2
	STATUS_DONE       = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Status

type Status struct {
	Status    int       `json:"status"`
	Timestamp time.Time `json:"timestamp"`
}

type Task

type Task struct {
	Id            int64    `json:"id"`
	Name          string   `json:"name"`
	Difficulty    int      `json:"difficulty"`
	StatusHistory []Status `json:"status_history"`
}

Jump to

Keyboard shortcuts

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