Help us shape the future of Go! Take the 2026 Go Developer Survey

githubapp

package
v1.321.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2026 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

SPDX-FileCopyrightText: 2026 Forkbomb BV

SPDX-License-Identifier: AGPL-3.0-or-later

Index

Constants

View Source
const DefaultMarker = "<!-- credimi-wallet-apk-pr-comment -->"

Variables

This section is empty.

Functions

func IntFromAny

func IntFromAny(value any) int

func Marker

func Marker() string

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewFromEnv

func NewFromEnv() (*Client, error)

func (*Client) CreateOrUpdatePRComment

func (c *Client) CreateOrUpdatePRComment(
	ctx context.Context,
	input PRComment,
) (PRCommentResult, error)

func (*Client) PullRequestHeadSHA

func (c *Client) PullRequestHeadSHA(
	ctx context.Context,
	repository string,
	prNumber int,
) (string, error)

type PRComment

type PRComment struct {
	Repository        string
	PullRequestNumber int
	CommentID         int64
	Marker            string
	Body              string
}

type PRCommentResult

type PRCommentResult struct {
	CommentID int64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL