github

package
v1.1.13 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidGitHubConfigURL = fmt.Errorf("invalid config URL, should point to an organization or repository")

Functions

This section is empty.

Types

type GitHubConfig

type GitHubConfig struct {
	Scope        GitHubScope
	Organization string
	Repository   string
	URL          string
}

func NewGitHubConfig

func NewGitHubConfig(gitHubURL string) (*GitHubConfig, error)

type GitHubScope

type GitHubScope int
const (
	GitHubScopeUnknown GitHubScope = iota
	GitHubScopeOrganization
	GitHubScopeRepository
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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