githubapp

package
v1.340.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: AGPL-3.0 Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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