Help us shape the future of Go! Take the 2026 Go Developer Survey

domain

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 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 Board added in v0.2.0

type Board struct {
	ID         string
	Name       string
	ProjectIDs []string
}

Board is an agile board eligible to contain an issue.

type Cardinality

type Cardinality string
const (
	CardinalitySingle Cardinality = "single"
	CardinalityMulti  Cardinality = "multi"
)

type Comment added in v0.3.0

type Comment struct {
	ID      string
	Author  *User
	Text    *string
	Created time.Time
	Updated *time.Time
	Deleted bool
}

type DateValue

type DateValue struct{ Value time.Time }

type EmptyValue

type EmptyValue struct{}

type EntityValue

type EntityValue struct{ ID, Name string }

type FieldDefinition

type FieldDefinition struct {
	ID          string
	Name        string
	Kind        FieldKind
	Cardinality Cardinality
	CanBeEmpty  bool
	BundleID    string
}

type FieldKind

type FieldKind string
const (
	FieldUnknown  FieldKind = "unknown"
	FieldString   FieldKind = "string"
	FieldInteger  FieldKind = "integer"
	FieldFloat    FieldKind = "float"
	FieldDate     FieldKind = "date"
	FieldDateTime FieldKind = "datetime"
	FieldPeriod   FieldKind = "period"
	FieldText     FieldKind = "text"
	FieldEnum     FieldKind = "enum"
	FieldState    FieldKind = "state"
	FieldUser     FieldKind = "user"
	FieldVersion  FieldKind = "version"
	FieldBuild    FieldKind = "build"
	FieldOwned    FieldKind = "owned"
	FieldGroup    FieldKind = "group"
	FieldBoard    FieldKind = "board"
)

type FieldOption

type FieldOption struct {
	ID   string
	Name string
}

type FieldRef

type FieldRef string

type FieldValue

type FieldValue interface {
	// contains filtered or unexported methods
}

type FloatValue

type FloatValue struct{ Value float64 }

type Group

type Group struct {
	ID   string
	Name string
}

type IntegerValue

type IntegerValue struct{ Value int64 }

type Issue

type Issue struct {
	ID          string
	IDReadable  string
	Summary     string
	Description string
	Project     Project
	Reporter    *User
	Updater     *User
	Created     time.Time
	Updated     time.Time
	Resolved    *time.Time
	Fields      []IssueField
	Tags        []Tag
}

type IssueField

type IssueField struct {
	ID           string
	Name         string
	Kind         FieldKind
	Cardinality  Cardinality
	Value        FieldValue
	StateMachine bool
	Transitions  []FieldOption
}

type IssueIdentity added in v0.4.0

type IssueIdentity struct {
	ID         string
	IDReadable string
}

type IssueLinkChange added in v0.4.0

type IssueLinkChange struct {
	IssueID       string
	TargetIssueID string
	Relation      LinkRelation
	Present       bool
	Changed       bool
}
type IssueLinkList struct {
	IssueID  string
	Relation LinkRelation
	Issues   []IssueSummary
}

type IssueRef

type IssueRef string

type IssueSummary added in v0.3.0

type IssueSummary struct {
	ID         string
	IDReadable string
	Summary    string
	Project    Project
	Created    time.Time
	Updated    time.Time
	Resolved   *time.Time
}

type LinkDirection added in v0.4.0

type LinkDirection string
const (
	LinkDirectionOutward    LinkDirection = "outward"
	LinkDirectionInward     LinkDirection = "inward"
	LinkDirectionUndirected LinkDirection = "undirected"
)

type LinkRelation added in v0.4.0

type LinkRelation struct {
	Type      LinkType
	Direction LinkDirection
	Label     string
}

type LinkType added in v0.4.0

type LinkType struct {
	ID          string
	Name        string
	Directed    bool
	Aggregation bool
	Outward     string
	Inward      string
}

type MultiValue

type MultiValue struct{ Values []FieldValue }

type PeriodValue

type PeriodValue struct{ Minutes int64 }

type Project

type Project struct {
	ID        string
	Name      string
	ShortName string
}

type ProjectRef

type ProjectRef string

type SavedSearch added in v0.3.0

type SavedSearch struct {
	ID    string
	Name  string
	Query string
	Owner *User
}

SavedSearch is a visible server-side saved query.

type StateTransitionValue

type StateTransitionValue struct{ ID, Presentation string }

type StringValue

type StringValue struct{ Value string }

type Tag

type Tag struct {
	ID   string
	Name string
}

type TagRef

type TagRef string

type TextValue

type TextValue struct{ Value string }

type UnknownValue

type UnknownValue struct{ Type string }

type User

type User struct {
	ID       string
	Login    string
	FullName string
	Email    string
}

type UserRef

type UserRef string

type UserValue

type UserValue struct{ ID, Login, FullName string }

type WorkItem added in v0.4.0

type WorkItem struct {
	ID              string
	Date            time.Time
	DurationMinutes int64
	Text            *string
	Author          *User
	Creator         *User
	Type            *WorkItemType
	Created         time.Time
	Updated         *time.Time
}

type WorkItemType added in v0.4.0

type WorkItemType struct {
	ID   string
	Name string
}

Jump to

Keyboard shortcuts

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