From d2158a091de437a7bf06dc6d71737e27172c2a59 Mon Sep 17 00:00:00 2001 From: Karan Sharma Date: Thu, 24 Dec 2020 22:12:19 +0530 Subject: [PATCH] chore: remove redundant code in output --- cmd/doggo/output.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/cmd/doggo/output.go b/cmd/doggo/output.go index ebf7166..050cc39 100644 --- a/cmd/doggo/output.go +++ b/cmd/doggo/output.go @@ -110,18 +110,6 @@ func (hub *Hub) outputTerminal(rsp []resolvers.Response) { for _, auth := range r.Authorities { var typOut string switch typ := auth.Type; typ { - case "A": - typOut = blue(auth.Type) - case "AAAA": - typOut = blue(auth.Type) - case "MX": - typOut = magenta(auth.Type) - case "NS": - typOut = cyan(auth.Type) - case "CNAME": - typOut = yellow(auth.Type) - case "TXT": - typOut = yellow(auth.Type) case "SOA": typOut = red(auth.Type) default: