{"modulePath":"github.com/mariolima/repocrawler","version":"v0.0.0-20210112020958-9c02efbe58ec","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package github\n\n## Types\n\n```go\ntype GitHubCrawler struct {\n\tAPI_KEY string\n\t// contains filtered or unexported fields\n}\n```\nGitHubCrawler Contains API\\_KEY and Client for API calls\n\n```go\nfunc NewCrawler(apiKey string) *GitHubCrawler\n```\nNewCrawler Constructs a new GitHubCrawler given an API\\_KEY\n\n```go\nfunc (c *GitHubCrawler) GetFollowers(user string) (users []entities.User, err error)\n```\nGetFollowers Fetches a list of Users following given user\n\n```go\nfunc (c *GitHubCrawler) GetOrgMembers(org string) (users []entities.User, err error)\n```\nGetOrgMembers Fetches a list of Users belonging to a given Organization string\n\n```go\nfunc (c *GitHubCrawler) GetRepoContributors(user, repo string) (users []entities.User, err error)\n```\nGetRepoContributors Fetches a list of Users contributing to a given repository belonging to a given username\n\n```go\nfunc (c *GitHubCrawler) GetUserRepositories(user string) (repos []entities.Repository, err error)\n```\nGetUserRepositories Fetches a List of Repositories from a given Username\n\n```go\nfunc (c *GitHubCrawler) SearchCode(q string, resp chan entities.SearchResult)\n```\nSearchCode Searches for code String in all of GitHub and streams a channel of SearchResults\n\n","path":"github.com/mariolima/repocrawler/pkg/github","name":"github","synopsis":"","isRedistributable":true}
