github

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enterprise string
	Token      string
	DryRun     bool
}

type GitHub

type GitHub struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, config Config) (*GitHub, error)

func (GitHub) DeleteUser

func (g GitHub) DeleteUser(login string) error

func (GitHub) DryRun

func (g GitHub) DryRun() bool

func (GitHub) Users

func (g GitHub) Users(ctx context.Context) ([]GitHubUser, error)

type GitHubUser

type GitHubUser struct {
	Login string
	Email string
}

type GitHubUsers

type GitHubUsers []GitHubUser

Jump to

Keyboard shortcuts

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