api

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateClient

func GenerateClient(rawToken string) *githubv4.Client

Generate a githubv4 client

Types

type Repo

type Repo struct {
	Owner        string
	Name         string
	MainLanguage string
	Private      bool
	Archived     bool
	Template     bool
	Disabled     bool
	Mirror       bool
	Fork         bool
}

func RepoData

func RepoData(client *githubv4.Client, owner string, name string) (Repo, error)

Get data about a repo

Jump to

Keyboard shortcuts

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