added visualisation
This commit is contained in:
@@ -50,7 +50,7 @@ func showCharts(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func sendData(w http.ResponseWriter, r *http.Request) {
|
func sendData(w http.ResponseWriter, r *http.Request) {
|
||||||
var count int64 = 50
|
var count int64 = 180
|
||||||
if vars := mux.Vars(r); vars["count"] != "" {
|
if vars := mux.Vars(r); vars["count"] != "" {
|
||||||
newCount, err := strconv.ParseInt(vars["count"], 10, 0)
|
newCount, err := strconv.ParseInt(vars["count"], 10, 0)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user