pkg

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FindInput added in v0.1.1

type FindInput struct {
	Name        string
	GithubToken string
	Goos        string
	Goarch      string
}

FindInput is input to Find function

type FindOutput added in v0.1.1

type FindOutput struct {
	Owner       string
	Repo        string
	Tag         string
	Asset       string
	DownloadURL string
	BinaryName  string
	IsArchived  bool
}

FindOutput is output by Find function. This have information about golang release binary

func Find added in v0.1.1

func Find(input *FindInput) (*FindOutput, error)

Find golang release binary and return its information

type SearchInput added in v0.1.1

type SearchInput struct {
	Name        string
	GithubToken string
}

SearchInput is input to Search function

type SearchOutput added in v0.1.1

type SearchOutput []SearchOutputItem

SearchOutput is output by Search function

func Search(input *SearchInput) (SearchOutput, error)

Search GitHub repositories

type SearchOutputItem added in v0.1.1

type SearchOutputItem struct {
	Owner       string
	Repo        string
	Description string
}

SearchOutputItem is element of SearchOutput struct

Jump to

Keyboard shortcuts

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