github

package
v0.1.0-beta9 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultEndpoint is the default GitHub API endpoint
	DefaultEndpoint = "https://api.github.com"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHubResponseLatestRelease

type GitHubResponseLatestRelease struct {
	TagName string `json:"tag_name"`
}

type Service

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

func NewService

func NewService() *Service

func (*Service) GetLastVersionFromGithub

func (s *Service) GetLastVersionFromGithub(repository string) (string, error)

GetLastVersionFromGithub gets the last version from github

Jump to

Keyboard shortcuts

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