Remove test count

This commit is contained in:
speatzle 2024-05-29 23:54:56 +02:00
parent 332e0cbe5a
commit eb5dfaab9b

View file

@ -56,8 +56,7 @@ func handleIndex(w http.ResponseWriter, r *http.Request) {
if err != nil {
size = 0
}
// data.Counter = splitInt(size)
data.Counter = []int{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
data.Counter = splitInt(size)
buf := bytes.Buffer{}
err = templates.ExecuteTemplate(&buf, constants.INDEX_TEMPLATE_NAME, data)