Working on the Calculated thing

Did some work towards the lua interface, but its kinda shit tbh
This commit is contained in:
2025-08-26 19:29:33 +01:00
parent b6d0d98d41
commit 7320b61df7
15 changed files with 201 additions and 103 deletions
+4 -4
View File
@@ -13,10 +13,10 @@ import (
)
type Share struct {
ExpShareID int64
User User
Share dec.Decimal
Calculated dec.Decimal // Normalized user share because of fracd cents
ExpShareID int64 `json:"ExpShareID"`
User User `json:"User"`
Share dec.Decimal `json:"Share"`
Calculated dec.Decimal `json:"Calculated"`
}
type Shares []Share