Documentation ¶
Index ¶
- func Init(connString string)
- type DBTX
- type GetIterationBurndownRow
- type GetProjectBurnupParams
- type GetProjectBurnupRow
- type GetWorkItemsForIterationRow
- type Iteration
- type Project
- type Querier
- type Queries
- func (q *Queries) GetIterationBurndown(ctx context.Context, id int32) ([]GetIterationBurndownRow, error)
- func (q *Queries) GetIterations(ctx context.Context, projectID int32) ([]Iteration, error)
- func (q *Queries) GetProjectBurnup(ctx context.Context, arg GetProjectBurnupParams) ([]GetProjectBurnupRow, error)
- func (q *Queries) GetProjects(ctx context.Context) ([]Project, error)
- func (q *Queries) GetWorkItemsForIteration(ctx context.Context, name string) ([]GetWorkItemsForIterationRow, error)
- func (q *Queries) UpsertIteration(ctx context.Context, arg UpsertIterationParams) (Iteration, error)
- func (q *Queries) UpsertProject(ctx context.Context, arg UpsertProjectParams) (Project, error)
- func (q *Queries) UpsertWorkItem(ctx context.Context, arg UpsertWorkItemParams) (WorkItemHistory, error)
- func (q *Queries) UpsertWorkItemStatus(ctx context.Context, name string) (WorkItemStatus, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type UpsertIterationParams
- type UpsertProjectParams
- type UpsertWorkItemParams
- type WorkItemHistory
- type WorkItemStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GetIterationBurndownRow ¶
type GetProjectBurnupParams ¶
type GetProjectBurnupRow ¶
type GetWorkItemsForIterationRow ¶
type GetWorkItemsForIterationRow struct { ID int32 ChangeDate pgtype.Date GhID string Name string Status pgtype.Text Priority pgtype.Int4 RemainingHours pgtype.Int4 Effort pgtype.Int4 IterationID pgtype.Int4 ProjectID int32 ID_2 int32 GhID_2 string Name_2 string StartDate pgtype.Date EndDate pgtype.Date ProjectID_2 int32 }
type Querier ¶
type Querier interface { GetIterationBurndown(ctx context.Context, id int32) ([]GetIterationBurndownRow, error) GetIterations(ctx context.Context, projectID int32) ([]Iteration, error) GetProjectBurnup(ctx context.Context, arg GetProjectBurnupParams) ([]GetProjectBurnupRow, error) GetProjects(ctx context.Context) ([]Project, error) GetWorkItemsForIteration(ctx context.Context, name string) ([]GetWorkItemsForIterationRow, error) UpsertIteration(ctx context.Context, arg UpsertIterationParams) (Iteration, error) UpsertProject(ctx context.Context, arg UpsertProjectParams) (Project, error) UpsertWorkItem(ctx context.Context, arg UpsertWorkItemParams) (WorkItemHistory, error) UpsertWorkItemStatus(ctx context.Context, name string) (WorkItemStatus, error) }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetIterationBurndown ¶
func (*Queries) GetIterations ¶
func (*Queries) GetProjectBurnup ¶
func (q *Queries) GetProjectBurnup(ctx context.Context, arg GetProjectBurnupParams) ([]GetProjectBurnupRow, error)
func (*Queries) GetWorkItemsForIteration ¶
func (*Queries) UpsertIteration ¶
func (*Queries) UpsertProject ¶
func (*Queries) UpsertWorkItem ¶
func (q *Queries) UpsertWorkItem(ctx context.Context, arg UpsertWorkItemParams) (WorkItemHistory, error)
func (*Queries) UpsertWorkItemStatus ¶
type UpsertIterationParams ¶
type UpsertProjectParams ¶
type UpsertWorkItemParams ¶
type WorkItemHistory ¶
type WorkItemStatus ¶
Click to show internal directories.
Click to hide internal directories.