github

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	// ListTags returns all tags for the specified repository.
	ListTags(ctx context.Context, owner, repo string) ([]string, error)
	// ListReleases returns all releases for the specified repository.
	ListReleases(ctx context.Context, owner, repo string) ([]Release, error)
}

Client provides access to GitHub repository information.

func NewClient

func NewClient(token string) Client

NewClient creates a new GitHub client.

type Release

type Release struct {
	Tag        string
	Prerelease bool
	Draft      bool
}

Release represents a GitHub release.

Jump to

Keyboard shortcuts

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