private fields for calculated values

This commit is contained in:
Andreas Schröpfer
2021-01-03 08:08:10 +01:00
parent 23214be74e
commit 9f5d258f65
6 changed files with 9 additions and 8 deletions

View File

@@ -9,8 +9,8 @@ package goodcalc
type Aspect struct {
No string `json:"no"`
Weight float32 `json:"weight"`
MaxValuationPoints int `json:"max_valuation_points"`
ValuationPoints int `json:"valuation_points"`
maxValuationPoints int
}
// NegativeAspect has the same fields like Aspect. But the