This commit is contained in:
Matt Burchett 2018-11-30 12:26:42 -06:00
parent 9209c26864
commit 98cb594e82

View File

@ -81,8 +81,8 @@ func resultsToJSON(data []string) {
splitStrings := strings.Split(i, " ")
hostname := splitStrings[1]
ip := splitStrings[2]
txt := splitStrings[3]
dns := &model.Results{IP: ip, Hostname: hostname, TXT: txt}
// txt := splitStrings[3]
dns := &model.Results{IP: ip, Hostname: hostname}
b, err := json.Marshal(dns)
if err != nil {
fmt.Println(err)