govote/voting/result.go
2024-05-14 10:27:13 +02:00

13 lines
297 B
Go

package voting
import "code.c-base.org/baccenfutter/govote/voting/vote"
// Result is a data-container for the results of a voting.
// It can easily be accessed in templates.
type Result struct {
Quorum bool
Threshold bool
Yes, No, Abstain int
Votes []vote.Vote
}