Versions in this module Expand all Collapse all v1 v1.5.0 Jun 29, 2024 v1.4.0 Aug 9, 2022 v1.3.1 Dec 20, 2021 v1.3.0 Nov 22, 2021 Changes in this version + func DecodePullRequest(pr *PullRequest) *database.PullRequest + func DecodePullRequestReview(prReview *PullRequestReview) *database.PullRequestReview + func DisableLog() + func New(host, rootCert, cert, key string) (*cockroachdb, error) + func UseLogger(logger slog.Logger) + type Commit struct + Additions int + Author string + Committer string + Date int64 + Deletions int + Message string + Organization string + ParentSHA string + ParentURL string + Repo string + SHA string + URL string + func (Commit) TableName() string + type MatchingReviews struct + Additions int + Author string + CommitID string + Deletions int + ID int64 + Number int + PullRequestURL string + Repo string + State string + SubmittedAt int64 + type PullRequest struct + Additions int + Author string + ClosedAt int64 + Deletions int + ID string + Merged bool + MergedAt int64 + MergedBy string + Number int + Organization string + Repo string + State string + URL string + UpdatedAt int64 + func EncodePullRequest(dbPullRequest *database.PullRequest) PullRequest + func (PullRequest) TableName() string + type PullRequestReview struct + Author string + CommitID string + ID int64 + Number int + PullRequestURL string + Repo string + State string + SubmittedAt int64 + func EncodePullRequestReview(dbPullRequestReview *database.PullRequestReview) PullRequestReview + func (PullRequestReview) TableName() string + type Version struct + ID string + Timestamp int64 + Version string + func (Version) TableName() string