task

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 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 Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager handles task management

func NewManager

func NewManager(cfg *config.Config) *Manager

NewManager creates a new task manager

func (*Manager) Generate

func (m *Manager) Generate(ctx context.Context, repoName string, category string) ([]Task, error)

Generate generates tasks based on repository analysis

func (*Manager) List

func (m *Manager) List(ctx context.Context, repoName string, status string, category string) ([]Task, error)

List returns tasks filtered by status and category

type Task

type Task struct {
	Title         string `json:"title"`
	Description   string `json:"description,omitempty"`
	Category      string `json:"category"`
	Priority      string `json:"priority"`
	Status        string `json:"status"`
	EstimatedTime string `json:"estimated_time,omitempty"`
	Assignee      string `json:"assignee,omitempty"`
}

Task represents a community task

Jump to

Keyboard shortcuts

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