refactor: floats, tests
This commit is contained in:
@@ -23,7 +23,7 @@ const (
|
||||
type Production struct {
|
||||
Type ProductionType `json:"type"`
|
||||
SubjectID *uuid.UUID `json:"subjectId"` // TODO: get rid of Nils?
|
||||
Progress *float64 `json:"progress"`
|
||||
Progress *Float `json:"progress"`
|
||||
}
|
||||
|
||||
func (p ProductionType) AsType(subject uuid.UUID) Production {
|
||||
|
||||
Reference in New Issue
Block a user