Use cgo-free SQL driver and add limit of 100 to maxVoters

This commit is contained in:
2025-01-21 09:17:40 +01:00
parent 1b6fc173d3
commit 5570dca6c9
6 changed files with 112 additions and 114 deletions

View File

@ -64,6 +64,10 @@ func GreaterThan(value int, n int) bool {
return value > n
}
func LesserThan(value int, n int) bool {
return value < n
}
func GreaterThanOrEquals(value int, n int) bool {
return value >= n
}