/* Simply go get the github activity feed for a user and return it */
Simply go get the github activity feed for a user and return it
/ * Simply go get the github activity feed for a user and return it * /
func ActivityHandler(w http.ResponseWriter, r *http.Request) {
	SetPlatformResponseHeaders(w, r)
	vars :=	mux.Vars(r)
	URL := "https://api.github.com/users/" + vars["githubUsername"] + "/events"
	response, err := http.Get(URL)
	if err == nil {
		bufio.NewReader(response.Body).WriteTo(w)
	}
}
func ActivityHandler ( w http . ResponseWriter , r * http . Request ) { SetPlatformResponseHeaders ( w , r ) vars := mux . Vars ( r ) URL := " " + vars [ " " ] + " " response , err := http . Get ( URL ) if err == nil { bufio . NewReader ( response . Body ) . WriteTo ( w ) } }
Simply go get the github activity feed for a user and return it
Simply go get the github activity feed for a user and return it
// Get request variables and format upstream URL