From 9d9ca6bebbb63ed75fdff1c8a7f0cda8e99c220f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Schr=C3=B6pfer?= Date: Mon, 1 Mar 2021 11:57:07 +0100 Subject: [PATCH] fixes #6 subaspects removed from aspects struct --- pkg/ecalc/ecalc.go | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/pkg/ecalc/ecalc.go b/pkg/ecalc/ecalc.go index 0a6928d..f8919d0 100644 --- a/pkg/ecalc/ecalc.go +++ b/pkg/ecalc/ecalc.go @@ -77,14 +77,13 @@ type Topic struct { } type Aspect struct { - Points int `json:"points"` - MaxPoints float64 `json:"maxPoints"` - ID int `json:"id,omitempty"` - ShortName string `json:"shortName"` - Name string `json:"name"` - Estimations int `json:"estimations"` - Weight float64 `json:"weight"` - IsWeightSelectedByUser bool `json:"isWeightSelectedByUser"` - Aspects []Aspect `json:"aspects"` - IsPositive bool `json:"isPositive"` + Points int `json:"points"` + MaxPoints float64 `json:"maxPoints"` + ID int `json:"id,omitempty"` + ShortName string `json:"shortName"` + Name string `json:"name"` + Estimations int `json:"estimations"` + Weight float64 `json:"weight"` + IsWeightSelectedByUser bool `json:"isWeightSelectedByUser"` + IsPositive bool `json:"isPositive"` }