From 0a1487ee034a465f34a8b9f8a7198d93c4811c45 Mon Sep 17 00:00:00 2001 From: John Speed Meyers Date: Mon, 25 Apr 2022 07:12:32 -0700 Subject: [PATCH] fix: edit casing of email (#30) Signed-off-by: John Speed Meyers --- cyclonedx.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cyclonedx.go b/cyclonedx.go index d8672dd..126577c 100644 --- a/cyclonedx.go +++ b/cyclonedx.go @@ -330,7 +330,7 @@ const ( type IdentifiableAction struct { Timestamp string `json:"timestamp,omitempty" xml:"timestamp,omitempty"` Name string `json:"name,omitempty" xml:"name,omitempty"` - EMail string `json:"email,omitempty" xml:"email,omitempty"` + Email string `json:"email,omitempty" xml:"email,omitempty"` } type ImpactAnalysisJustification string @@ -481,7 +481,7 @@ type Note struct { type OrganizationalContact struct { Name string `json:"name,omitempty" xml:"name,omitempty"` - EMail string `json:"email,omitempty" xml:"email,omitempty"` + Email string `json:"email,omitempty" xml:"email,omitempty"` Phone string `json:"phone,omitempty" xml:"phone,omitempty"` }