Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client handles GitHub API operations
func (*Client) CheckStarredStatus ¶
CheckStarredStatus checks if the repositories are starred by the authenticated user
func (*Client) StarAllUnstarred ¶
StarAllUnstarred stars all unstarred GitHub repositories
func (*Client) StarRepository ¶
StarRepository stars a repository
type GitHubClient ¶
type GitHubClient interface {
CheckStarredStatus(packages []*model.Package) error
StarRepository(pkg *model.Package) error
UnstarRepository(pkg *model.Package) error
StarAllUnstarred(packages []*model.Package) (int, error)
}
GitHubClient defines the interface for GitHub operations
Click to show internal directories.
Click to hide internal directories.