Documentation
¶
Index ¶
- type Comment
- type DBTX
- type GetByOwnerNameParams
- type GetLastUpdateTimeRow
- type Issue
- type IssueAssignee
- type IssueLabel
- type Label
- type Queries
- func (q *Queries) GetByOwnerName(ctx context.Context, db DBTX, arg GetByOwnerNameParams) (int64, error)
- func (q *Queries) GetLastUpdateTime(ctx context.Context, db DBTX, repositoryID int64) (GetLastUpdateTimeRow, error)
- func (q *Queries) UpsertIssue(ctx context.Context, db DBTX, arg UpsertIssueParams) error
- func (q *Queries) UpsertRepository(ctx context.Context, db DBTX, arg UpsertRepositoryParams) (int64, error)
- type Repository
- type SyncCursor
- type UpsertIssueParams
- type UpsertRepositoryParams
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetByOwnerNameParams ¶ added in v0.12.0
type GetLastUpdateTimeRow ¶
type Issue ¶
type Issue struct {
ID int64
CreatedAt time.Time
UpdatedAt time.Time
RepositoryID int64
GithubID int64
Number int64
Title string
Body string
State string
IsPullRequest bool
PrUrl *string
PrHtmlUrl *string
PrDiffUrl *string
PrPatchUrl *string
GithubCreatedAt time.Time
GithubUpdatedAt time.Time
SyncedAt time.Time
}
type IssueAssignee ¶
type IssueLabel ¶
type Queries ¶
type Queries struct {
}
func (*Queries) GetByOwnerName ¶ added in v0.12.0
func (*Queries) GetLastUpdateTime ¶
func (*Queries) UpsertIssue ¶
func (*Queries) UpsertRepository ¶ added in v0.12.0
type Repository ¶
type SyncCursor ¶
type UpsertIssueParams ¶
type UpsertRepositoryParams ¶ added in v0.12.0
Click to show internal directories.
Click to hide internal directories.