gh

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectHostOwnerRepo added in v0.5.0

func DetectHostOwnerRepo(ownerrepo string) (string, string, string, error)

func GetReleaseAsset

func GetReleaseAsset(ctx context.Context, owner, repo string, opt *AssetOption) (*releaseAsset, fs.FS, error)

Types

type AssetOption

type AssetOption struct {
	Match                string
	Version              string
	OS                   string
	Arch                 string
	Strict               bool
	SkipContentTypeCheck bool
}

Jump to

Keyboard shortcuts

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