init database
This commit is contained in:
18
vote/vote.go
Normal file
18
vote/vote.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user