commit 1e72c6042be9a009542d4a1600cb239531a03a26
parent fdf17c37d2365964c1ae296a6d972261d3ea77ef
Author: breadcat <breadcat@users.noreply.github.com>
Date: Fri, 10 Jul 2026 09:49:21 +0100
Add thirds, halves, and two thirds of a pint
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.go b/main.go
@@ -18,7 +18,7 @@ import (
//go:embed static
var staticFiles embed.FS
-var volumes = []int{25, 125, 330, 440, 500, 568, 660, 750}
+var volumes = []int{25, 125, 187, 284, 330, 375, 440, 500, 568, 660, 750}
func calcUnits(ml int, abv float64) float64 {
return float64(ml) * abv / 1000.0