Remove test count
This commit is contained in:
parent
332e0cbe5a
commit
eb5dfaab9b
1 changed files with 1 additions and 2 deletions
|
@ -56,8 +56,7 @@ func handleIndex(w http.ResponseWriter, r *http.Request) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
size = 0
|
size = 0
|
||||||
}
|
}
|
||||||
// data.Counter = splitInt(size)
|
data.Counter = splitInt(size)
|
||||||
data.Counter = []int{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
|
|
||||||
|
|
||||||
buf := bytes.Buffer{}
|
buf := bytes.Buffer{}
|
||||||
err = templates.ExecuteTemplate(&buf, constants.INDEX_TEMPLATE_NAME, data)
|
err = templates.ExecuteTemplate(&buf, constants.INDEX_TEMPLATE_NAME, data)
|
||||||
|
|
Loading…
Add table
Reference in a new issue