cmd

package
v0.0.0-...-86fa6dd Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string) (err error)

Run runs the app cli program

Types

type Repositories

type Repositories struct {
	Items []Repository `json:"items"`
}

Respositories defines items which holds array of repository

type Repository

type Repository struct {
	Id       int    `json:"id"`
	NodeId   string `json:"node_id"`
	Name     string `json:"name"`
	FullName string `json:"full_name"`
	HtmlURL  string `json:"html_url"`
	Language string `json:"language"`
	Stars    int    `json:"stargazers_count"`
}

Repository defines structure of repo in github response

type Response

type Response struct {
	Name     string
	Response []byte
	Error    error
}

Response hold response, name for response and error

Jump to

Keyboard shortcuts

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