Skip to content

GrimTheReaper/gitgazer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitGazer

A challenge entry for CenturyLink, written in Golang.

Requirements:

  • Golang >1.8

There are no additional packages used, only what comes with Golang.

Please clone the project to: $GOPATH/src/github.com/grimthereaper/gitgazer

Or if you are a Windows user: %GOPATH%/src/github.com/grimthereaper/gitgazer

Pre-Ignition:

Make sure to have a github oAuth token, or a github personal token, as rate limiting cripples this application, as github limits non tokenized request to 60 per hour.

You can do that by following this guide!

Running:

Please navigate to the cmd folder to run this application. For organizational purposes, main.go was put there.

Command Structure:

Command Type Default Description
buffer bool true Whether or not to buffer results from github
host string empty What host to bind the application to
port int 8080 What port to bind the application to
token string empty What github personal access token to use (RECOMMENDED)

To use any of the arguments, they are added by hyphen and the command name, such as...
go run main.go -token=ExampleToken

Routes:

Route Method Description
/api/v0/github/user/{username}/repositories GET Gets the repositories
/api/v0/github/user/{username}/followers GET Gets the followers

FOR A LIVE VERSION, CONTACT ME BY EMAIL

About

Golang Github Gazer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages