Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶
type Check struct { Name string `json:"name,omitempty"` Score int `json:"score,omitempty"` Reason string `json:"reason,omitempty"` }
Check is a deps.dev ScoreCardV2 check
type Project ¶
type Project struct { Type string `json:"type,omitempty"` Name string `json:"name,omitempty"` ObservedAt int `json:"observedAt,omitempty"` Issues int `json:"issues,omitempty"` Forks int `json:"forks,omitempty"` Stars int `json:"stars,omitempty"` Description string `json:"description,omitempty"` License string `json:"license,omitempty"` DisplayName string `json:"displayName,omitempty"` Link string `json:"link,omitempty"` ScorecardV2 ScorecardV2 `json:"scorecardV2,omitempty"` }
Project is a deps.dev project
type Response ¶
type Response struct { Version Version `json:"version,omitempty"` DefaultVersion string `json:"defaultVersion,omitempty"` }
Response is a deps.dev response
type ScorecardV2 ¶
type ScorecardV2 struct { Date string `json:"date,omitempty"` Check []Check `json:"check,omitempty"` Score float64 `json:"score,omitempty"` }
ScorecardV2 is a deps.dev ScoreCardV2 result
type Version ¶
type Version struct { Version string `json:"version,omitempty"` RefreshedAt int `json:"refreshedAt,omitempty"` IsDefault bool `json:"isDefault,omitempty"` Licenses []string `json:"licenses,omitempty"` DependentCount int `json:"dependentCount,omitempty"` DependentCountDirect int `json:"dependentCountDirect,omitempty"` DependentCountIndirect int `json:"dependentCountIndirect,omitempty"` Projects []Project `json:"projects,omitempty"` }
Version is a deps.dev version, main object in the response
Click to show internal directories.
Click to hide internal directories.