From 4d7bbf3bceffa967cb446e67b670cf087e27fa69 Mon Sep 17 00:00:00 2001 From: edoardottt Date: Sun, 28 Nov 2021 12:30:05 +0100 Subject: [PATCH] update --- scanner/errors.go | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scanner/errors.go b/scanner/errors.go index f1c13e5..f544cc8 100644 --- a/scanner/errors.go +++ b/scanner/errors.go @@ -18,4 +18,14 @@ along with this program. If not, see http://www.gnu.org/licenses/. package scanner -// todo +//Error struct +type Error struct { + ErrorName string + Regex string +} + +//ErrorMatched struct +type ErrorMatched struct { + Error Error + Url string +}