Versions in this module Expand all Collapse all v0 v0.7.0 Nov 19, 2026 v0.6.0 Nov 15, 2026 v0.5.0 Nov 13, 2026 Changes in this version + func CommentTarget(target string) (int64, error) + type Conversation struct + Reviews []LatestReview + Threads []OpenThread + type InlineComment struct + Body string + Line int + Path string + Side string + StartLine int + StartSide string + type LatestReview struct + Author string + Commit string + State string + SubmittedAt time.Time + type OpenThread struct + Comments []ThreadComment + IsOutdated bool + IsResolved bool + Line int + Path string type Publisher + Threads Threads + func (p *Publisher) Conversation(ctx context.Context, ref pr.Ref) (Conversation, error) + func (p *Publisher) Head(ctx context.Context, ref pr.Ref) (string, error) + func (p *Publisher) Within(ctx context.Context, ref pr.Ref, target string) (bool, error) + type Review struct + Comments []InlineComment + Event string + func DecodeReview(raw json.RawMessage) (Review, error) + type ReviewRequest struct + Reviewers []string + func DecodeReviewRequest(raw json.RawMessage) (ReviewRequest, error) + type ThreadComment struct + At time.Time + Author string + Body string + ID int64 + type Threads interface + GraphQL func(ctx context.Context, query string, vars map[string]any) (map[string]json.RawMessage, map[string]string, error) + ResolveReviewThread func(ctx context.Context, threadID string) error v0.4.0 Nov 8, 2026 v0.3.0 Oct 30, 2026 Changes in this version + type Publisher struct + GH REST + Log func(format string, args ...any) + Now func() time.Time + People func(ctx context.Context, u sdk.Unit) ([]src.Person, error) + Record func(ctx context.Context, ev src.Event) error + Viewer func(ctx context.Context) (string, error) + func (p *Publisher) Place(context.Context, src.Draft) (string, error) + func (p *Publisher) Publish(ctx context.Context, d src.Draft) (src.Evidence, error) + func (p *Publisher) Validate(ctx context.Context, d src.Draft) error + func (p *Publisher) Verify(ctx context.Context, d src.Draft, startedAt time.Time) (src.Evidence, bool, error) + func (p *Publisher) Where(ctx context.Context, d src.Draft) (string, error) + type REST interface + REST func(ctx context.Context, r api.Request) (api.Response, error)