Type checking fix: Restrict the keys / values for ArtifactLocation and centralize the common ones
This commit is contained in:
committed by
=Michael Hohn
parent
b3cf7a4f65
commit
3566f5169e
@@ -26,8 +26,10 @@ const (
|
||||
)
|
||||
|
||||
type SarifRun struct {
|
||||
// XX: static types
|
||||
VersionControlProvenance []interface{} `json:"versionControlProvenance,omitempty"`
|
||||
Results []interface{} `json:"results"`
|
||||
// XX: never set, only read
|
||||
Results []interface{} `json:"results"`
|
||||
}
|
||||
|
||||
type Sarif struct {
|
||||
|
||||
Reference in New Issue
Block a user