chore: remove redundant code in output

pull/12/head
Karan Sharma 2020-12-24 22:12:19 +05:30
parent 4e5b074987
commit d2158a091d
1 changed files with 0 additions and 12 deletions

View File

@ -110,18 +110,6 @@ func (hub *Hub) outputTerminal(rsp []resolvers.Response) {
for _, auth := range r.Authorities { for _, auth := range r.Authorities {
var typOut string var typOut string
switch typ := auth.Type; typ { 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": case "SOA":
typOut = red(auth.Type) typOut = red(auth.Type)
default: default: