rating as float
This commit is contained in:
@@ -66,7 +66,7 @@ type Rating struct {
|
||||
}
|
||||
|
||||
type Topic struct {
|
||||
Points int `json:"points"`
|
||||
Points float64 `json:"points"`
|
||||
MaxPoints float64 `json:"maxPoints"`
|
||||
ID int `json:"id,omitempty"`
|
||||
ShortName string `json:"shortName"`
|
||||
@@ -78,7 +78,7 @@ type Topic struct {
|
||||
}
|
||||
|
||||
type Aspect struct {
|
||||
Points int `json:"points"`
|
||||
Points float64 `json:"points"`
|
||||
MaxPoints float64 `json:"maxPoints"`
|
||||
ID int `json:"id,omitempty"`
|
||||
ShortName string `json:"shortName"`
|
||||
|
||||
Reference in New Issue
Block a user