backlogitem

package
v0.0.0-...-afd6d5e Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BacklogItem

type BacklogItem struct {
	ID         ID     `json:"id"`
	Type       Type   `json:"type"`
	Summary    string `json:"summary"`
	StoryPoint *int   `json:"storyPoint"`
}

func (BacklogItem) Validate

func (bi BacklogItem) Validate() error

type BacklogItemList

type BacklogItemList []BacklogItem

type BacklogItemNode

type BacklogItemNode struct {
	BacklogItem
	subtask.SubTaskNodeList
}

type BacklogItemNodeList

type BacklogItemNodeList []BacklogItemNode

type BacklogItemQuery

type BacklogItemQuery struct {
}

type CreateBacklogItemParam

type CreateBacklogItemParam struct {
	Type       Type
	Summary    string
	StoryPoint *int
}

func (CreateBacklogItemParam) New

type ID

type ID uuid.UUID

func (ID) String

func (i ID) String() string

type Repository

type Repository interface {
	Create(ctx context.Context, item *BacklogItem) error
	GetOne(ctx context.Context, id ID) (*BacklogItem, error)
}

type StoryPoint

type StoryPoint int

type Type

type Type string
const (
	Story Type = "STORY"
	Bug        = "BUG"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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