github

package
v0.0.0-...-b96e943 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Github

type Github struct {
	// contains filtered or unexported fields
}

func New

func New(token string, owner string, repo string, opts ...Option) *Github

func (*Github) DownloadNewVersionIfNeeded

func (c *Github) DownloadNewVersionIfNeeded(binaryName, currentVersion string) error

func (*Github) IsTokenValid

func (g *Github) IsTokenValid() bool

type Option

type Option func(g *Github)

Jump to

Keyboard shortcuts

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