foodoles/vote/vote.go

19 lines
284 B
Go
Raw Normal View History

2019-11-21 16:43:02 +01:00
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
}