Documentation ¶
Index ¶
- type CreatePrParams
- type DBTX
- type Meta
- type Pr
- type Queries
- func (q *Queries) Bury(ctx context.Context, url string) error
- func (q *Queries) CreatePr(ctx context.Context, arg CreatePrParams) (Pr, error)
- func (q *Queries) DeletePrs(ctx context.Context) error
- func (q *Queries) GetLastFetched(ctx context.Context) (string, error)
- func (q *Queries) GetPr(ctx context.Context, url string) (Pr, error)
- func (q *Queries) ListPrs(ctx context.Context) ([]Pr, error)
- func (q *Queries) StoreLastFetched(ctx context.Context, value string) error
- func (q *Queries) Unbury(ctx context.Context, url string) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Storage
- type StoredState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatePrParams ¶
type CreatePrParams struct { Url string ReviewStatus string Title string Author string RepoName string RepoOwner string RepoUrl string IsDraft bool LastUpdated string LastPrCommenter string ThreadsActionable int64 ThreadsWaiting int64 Additions int64 Deletions int64 ReviewRequestedFromUsers string Buried bool }
type Pr ¶
type Pr struct { Url string ReviewStatus string Title string Author string RepoName string RepoOwner string RepoUrl string IsDraft bool LastUpdated string LastPrCommenter string ThreadsActionable int64 ThreadsWaiting int64 Additions int64 Deletions int64 ReviewRequestedFromUsers string Buried bool }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetLastFetched ¶
func (*Queries) StoreLastFetched ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func NewStorage ¶
func (*Storage) Prs ¶
func (s *Storage) Prs() StoredState
Click to show internal directories.
Click to hide internal directories.