|
|
@ -74,9 +74,10 @@ type RequirementResult struct { |
|
|
|
} |
|
|
|
|
|
|
|
type RequirementResultProject struct { |
|
|
|
ID int `json:"id"` |
|
|
|
ScopeID int `json:"scopeId"` |
|
|
|
Name string `json:"name"` |
|
|
|
ID int `json:"id"` |
|
|
|
ScopeID int `json:"scopeId"` |
|
|
|
Name string `json:"name"` |
|
|
|
Tags []string `json:"tags"` |
|
|
|
} |
|
|
|
|
|
|
|
func (r *RequirementResult) Stat(id int) *RequirementResultStat { |
|
|
@ -300,6 +301,7 @@ func generateRequirementResult(req entities.Requirement, scope scopes.Result, re |
|
|
|
ID: project.ID, |
|
|
|
ScopeID: project.ScopeID, |
|
|
|
Name: project.Name, |
|
|
|
Tags: project.Tags, |
|
|
|
} |
|
|
|
|
|
|
|
break |
|
|
|