util

package
v0.0.0-...-74ec3c0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Version

func Version()

Types

type Item

type Item struct {
	Name            string  `json:"name"`
	HtmlUrl         string  `json:"full_name"`
	Description     string  `json:"description,omitempty"`
	Language        string  `json:"language,omitempty"`
	StarGazersCount int     `json:"stargazers_count,omitempty"`
	ForksCount      int     `json:"forks_Count,omitempty"`
	License         License `json:"license,omitempty"`
}

type License

type License struct {
	Name string `json:"name,omitempty"`
}

type Repos

type Repos struct {
	Items []Item `json:"items,omitempty"`
}

func SearchRepos

func SearchRepos(name, sort, order, language string) Repos

func (Repos) PrintAsTable

func (repos Repos) PrintAsTable()

Jump to

Keyboard shortcuts

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