github

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrSetup = "failed to construct HTTP request from GitHub API"
	ErrHttp  = "failed to fetch releases from GitHub API"
	ErrJson  = "failed to decode JSON response from GitHub API"
)

Variables

This section is empty.

Functions

func FetchLatestRelease

func FetchLatestRelease(ctx context.Context, apiUrl string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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