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))