mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
Add datetime and version info to report of checker
Resolve #142 Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
This commit is contained in:
parent
17f22855ee
commit
13423c3d4d
3 changed files with 16 additions and 5 deletions
|
|
@ -24,6 +24,8 @@ type Domain struct {
|
|||
// Report is the overall report.
|
||||
type Report struct {
|
||||
Domains []*Domain `json:"domains,omitempty"`
|
||||
Version string `json:"version,omitempty"`
|
||||
Date string `json:"date,omitempty"`
|
||||
}
|
||||
|
||||
func (r *Requirement) message(msg ...string) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue