From 6fb0e8dc761db603a63404d0c1f13d7deb5d217b Mon Sep 17 00:00:00 2001 From: Ice3man543 Date: Mon, 19 Oct 2020 11:42:12 +0530 Subject: [PATCH] Removed comment --- v2/pkg/executer/utils.go | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/v2/pkg/executer/utils.go b/v2/pkg/executer/utils.go index c31d125ab..50954e5a2 100644 --- a/v2/pkg/executer/utils.go +++ b/v2/pkg/executer/utils.go @@ -9,22 +9,6 @@ import ( type jsonOutput map[string]interface{} -/* -type jsonOutput struct { - Template string `json:"template"` - Type string `json:"type"` - Matched string `json:"matched"` - MatcherName string `json:"matcher_name,omitempty"` - ExtractedResults []string `json:"extracted_results,omitempty"` - Name string `json:"name"` - Severity string `json:"severity"` - Author string `json:"author"` - Description string `json:"description"` - Request string `json:"request,omitempty"` - Response string `json:"response,omitempty"` - Meta map[string]interface{} `json:"meta,omitempty"` -}*/ - // unsafeToString converts byte slice to string with zero allocations func unsafeToString(bs []byte) string { return *(*string)(unsafe.Pointer(&bs))