set config file

This commit is contained in:
2019-11-27 12:09:15 +01:00
parent 68eb55d8a7
commit 86c2cf49f0
9 changed files with 103 additions and 15 deletions

View File

@ -2,7 +2,6 @@ package vote
import (
"cadoles/foodoles/bdd"
"fmt"
"log"
"time"
)
@ -38,13 +37,13 @@ func GetVotesOfTheDay() VotesOfTheDay {
dupmap := dupcount(duplicate)
fmt.Println(dupmap)
//fmt.Println(dupmap)
for k, v := range dupmap {
vv := Vote{k, v}
vo.Votes = append(vo.Votes, vv)
}
fmt.Println(vo)
//fmt.Println(vo)
return vo
}