Versions in this module Expand all Collapse all v1 v1.2.0 Sep 26, 2021 v1.1.0 Aug 6, 2021 v1.0.1 May 24, 2021 v1.0.0 Apr 15, 2021 v0 v0.2.0 Mar 4, 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