Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GitClone ¶
func GitClone(repo *Repository, targetDir string) error
Types ¶
type GithubRepo ¶ added in v0.6.1
type GithubRepo struct {
Name string
FullName string `json:"full_name"`
Description string
HtmlUrl string `json:"html_url"`
StargazersCount int `json:"stargazers_count"`
}
func SearchSunbeamExtensions ¶ added in v0.6.1
func SearchSunbeamExtensions(query string) ([]GithubRepo, error)
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶ added in v0.6.1
func NewRepository(url *url.URL) *Repository
func RepositoryFromString ¶ added in v0.6.1
func RepositoryFromString(repositoryUrl string) (*Repository, error)
func (*Repository) FullName ¶
func (r *Repository) FullName() string
func (*Repository) Name ¶
func (r *Repository) Name() string
func (*Repository) Owner ¶
func (r *Repository) Owner() string
func (*Repository) Url ¶
func (r *Repository) Url() *url.URL
type SearchBody ¶ added in v0.6.1
type SearchBody struct {
Items []GithubRepo
}
Click to show internal directories.
Click to hide internal directories.