gh

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: MIT Imports: 23 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
}

Jump to

Keyboard shortcuts

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