github

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Organization

type Organization struct {
	Token string
	Org   string
}

func NewOrganization

func NewOrganization() *Organization

func (Organization) CloneRepositories

func (o Organization) CloneRepositories(repoURLs []string) error

func (Organization) ListRepositories

func (o Organization) ListRepositories() ([]string, error)

func (*Organization) Setup

func (o *Organization) Setup(token, username string)

type PrivateUser

type PrivateUser struct {
	Token    string
	Username string
}

func NewPrivateUser

func NewPrivateUser() *PrivateUser

func (PrivateUser) CloneRepositories

func (p PrivateUser) CloneRepositories(repoURLs []string) error

func (PrivateUser) ListRepositories

func (p PrivateUser) ListRepositories() ([]string, error)

func (*PrivateUser) Setup

func (p *PrivateUser) Setup(token, username string)

type PublicUser

type PublicUser struct {
	Username string
}

func NewPublicUser

func NewPublicUser() *PublicUser

func (PublicUser) CloneRepositories

func (p PublicUser) CloneRepositories(repoURLs []string) error

func (PublicUser) ListRepositories

func (p PublicUser) ListRepositories() ([]string, error)

func (*PublicUser) Setup

func (p *PublicUser) Setup(token, username string)

Jump to

Keyboard shortcuts

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