api

package
v0.0.0-...-65d9f25 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2021 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(token string) *githubv4.Client

Make a new client for the GitHub graphql API

Types

type Repo

type Repo struct {
	Description   string
	Name          string
	NameWithOwner string
	URL           string
}

Outline for a repo from GitHub

func Repos

func Repos(log lumber.Logger, client *githubv4.Client, opts ask.Opts) ([]Repo, error)

Get repos that belong to the user

Jump to

Keyboard shortcuts

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