github

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticatedClient

func AuthenticatedClient(token string) *github.Client

func Dump

func Dump(opts *DumpOptions) error

Types

type DumpOptions

type DumpOptions struct {
	Username    string
	Token       string
	Destination string
	CloneMode   string
}

type Repositories

type Repositories []*github.Repository

func UserRepositories

func UserRepositories(ghClient *github.Client) (Repositories, error)

func (Repositories) Iter

func (r Repositories) Iter(f func(repository *github.Repository) error) error

Jump to

Keyboard shortcuts

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