func parseRepo(r *http.Request) repository {
	vars := mux.Vars(r)
	return repository{
		User: vars["user"],
		Name: vars["name"],
	}
}
parseRepo returns a repository type with the user and repo's name
package server
import (
	"crypto/hmac"
	"crypto/sha1"
	"encoding/hex"
	"fmt"
	"net/http"
	"github.com/Sirupsen/logrus"
	"github.com/gorilla/mux"
)
type repository struct {
	User string
	Name string
}