task

package
v0.9.1 Latest Latest
Warning

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

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

Documentation

Overview

Package task contains types and engines to work with tasks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ticket

type Ticket struct {
	ID       string
	ParentID string

	URL      string
	Name     string
	Body     string
	ClosedAt time.Time
	Author   User
	Assignee User
	Type     Type
	TypeRaw  string // save raw type in case if user wants to distinguish different raw values
	Flagged  bool
}

Ticket represents a single task in task tracker.

type Type

type Type string

Type specifies the type of the task.

const (
	// TypeEpic is an epic task type.
	TypeEpic Type = "epic"
	// TypeTask is a simple task type.
	TypeTask Type = "task"
	// TypeSubtask is a sub-task type.
	TypeSubtask Type = "subtask"
)

type User

type User struct {
	Username string
	Email    string
}

User represents a task tracker user.

Directories

Path Synopsis
Package engine contains implementations of task.Tracker for different task providers.
Package engine contains implementations of task.Tracker for different task providers.

Jump to

Keyboard shortcuts

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