func RegisterRoutes(router *gin.Engine, group *gin.RouterGroup) {
	group.GET("/", getEvents(router))
	group.GET("/bookmarks", CheckUser(), getBookmarks(router))
	group.GET("/event/:id", getEvent(router))
	group.POST("/event/:id/comments", CheckUser(), postComment(router))
	group.POST("/event/:id/comments/delete", CheckUser(), deleteComment(router))
}
/*
RegisterRoutes registers all public routes with the given router instance
package events
import (
	"fmt"
	"github.com/gin-gonic/gin"
	log "github.com/golang/glog"
	"github.com/muety/kitsquid/app/common/errors"
	"github.com/muety/kitsquid/app/config"
	"github.com/muety/kitsquid/app/users"
	"github.com/muety/kitsquid/app/util"
	uuid "github.com/satori/go.uuid"
	"html/template"
	"net/http"
	"net/url"
	"strconv"
	"strings"
	"time"
)