From 000a3db17e3e350566b66b723792d601cde0cdbc Mon Sep 17 00:00:00 2001 From: "Sascha L. Teichmann" Date: Thu, 9 Dec 2021 11:28:27 +0100 Subject: [PATCH] Fixed golint warning. --- cmd/csaf_checker/report.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cmd/csaf_checker/report.go b/cmd/csaf_checker/report.go index afb48bf..d950850 100644 --- a/cmd/csaf_checker/report.go +++ b/cmd/csaf_checker/report.go @@ -1,16 +1,16 @@ package main -type Requirement struct { - Num int - Description string - Messages []string +type requirement struct { + Num int `json:"num"` + Description string `json:"description"` + Messages []string `json:"messages"` } type domain struct { - Name string - Requirements []Requirement + Name string `json:"name"` + requirements []requirement `json:"requirements"` } type report struct { - Domains []domain + Domains []domain `json:"domains"` }