init database

This commit is contained in:
2019-11-21 16:43:02 +01:00
parent 84227209ee
commit a112fa589f
5 changed files with 53 additions and 32 deletions

18
vote/vote.go Normal file
View File

@ -0,0 +1,18 @@
package vote
// VotesOfTheDay est le résultat des votes du jour
type VotesOfTheDay struct {
Date string
Votes []Vote
}
// Vote est un vote
type Vote struct {
Food string
Voices int
}
// ForFood vote pour un choix du jour
func ForFood(Today string, Food string) {
return
}