Documentation
¶
Overview ¶
Package githubrepo parses GitHub repository names and clone URLs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Repository ¶
Repository is a validated GitHub owner/repository pair.
func Parse ¶
func Parse(value string) (Repository, error)
Parse accepts owner/repo names and HTTPS or SSH github.com clone URLs.
func (Repository) FullName ¶
func (r Repository) FullName() string
func (Repository) Normalized ¶
func (r Repository) Normalized() string
Click to show internal directories.
Click to hide internal directories.