models

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT, 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 Issue

type Issue struct {
	Title  string `json:"title"`
	Body   string `json:"body"`
	Number int    `json:"number,omitempty"`
}

type IssueItem

type IssueItem struct {
	Number     int    `json:"number"`
	Repository string `json:"repository"`
	Title      string `json:"title"`
}

type Milestone

type Milestone struct {
	Title       string    `json:"title"`
	Description string    `json:"description,omitempty"`
	DueOn       time.Time `json:"due_on,omitempty"`
	State       string    `json:"state,omitempty"`
	Number      int       `json:"number,omitempty"`
}

type MilestoneWithIssues

type MilestoneWithIssues struct {
	Milestone
	Issues []Issue `json:"issues"`
}

type Project

type Project struct {
	Closed           bool   `json:"closed"`
	ID               string `json:"id"`
	Number           int    `json:"number"`
	Title            string `json:"title"`
	URL              string `json:"url"`
	ShortDescription string `json:"shortDescription"`
}

type ProjectListResponse

type ProjectListResponse struct {
	Projects   []Project `json:"projects"`
	TotalCount int       `json:"totalCount"`
}

type TasksFile

type TasksFile struct {
	ProjectTitle string                `json:"projectTitle"`
	Milestones   []MilestoneWithIssues `json:"milestones"`
}

Jump to

Keyboard shortcuts

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