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 {
|
||||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue