Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDuplicateUser ¶
DESC: Checks if a repos's stargazer has already been visited IN: stargazer: the stargazers's name: userObjList: the current list of users OUT: bool: true if the stargazer has already been visited, false if the user has never been visited
Types ¶
type UserRepo ¶
func GenRepoStargazerLists ¶
func GenRepoStargazerLists(rootUser string, numLvls, numRepos, numStargazers uint8) (UserRepo, error)
DESC: Returns a list of 5 repositories for a specified GitHub user and a list of 5 stargazers for each repository. The lists go numLvls levels deep. IN: rootUser: the initial username to list repositories for, numLvls: the number of levels deep to run, numRepos: the number of repositories to list for the specified user, numStargazers: the number of stargazers to list for the specified repo OUT: An object of type UserRepo which contains the list of User objects and the list of Repo objects