gh

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchReleases

func FetchReleases(repoURL string, onlyLatest bool) ([]*github.RepositoryRelease, error)

FetchReleases fetches GitHub releases for a given repo URL. If `onlyLatest` is true, it returns the most recent release. Otherwise, it returns all releases.

func GetOwnerAndRepoFromURL

func GetOwnerAndRepoFromURL(repoURL string) (owner, repo string, err error)

GetOwnerAndRepoFromURL extracts the owner and repo name from a GitHub URL

Types

This section is empty.

Jump to

Keyboard shortcuts

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