client

package
v0.0.0-...-be19f74 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IGithubClient

type IGithubClient interface {
	Repositories(org string) (*RepositoriesResult, error)
}

func NewGithubClient

func NewGithubClient(key string) IGithubClient

type RepositoriesResult

type RepositoriesResult struct {
	Repositories []Repository
}

func (*RepositoriesResult) FindRepoByName

func (r *RepositoriesResult) FindRepoByName(name string) Repository

func (*RepositoriesResult) RepositoryNames

func (r *RepositoriesResult) RepositoryNames() []string

type Repository

type Repository struct {
	Name     string
	Language string
	SSHUrl   string
}

func (*Repository) Clone

func (r *Repository) Clone() error

Jump to

Keyboard shortcuts

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