test
This commit is contained in:
		| @@ -81,8 +81,8 @@ func resultsToJSON(data []string) { | |||||||
| 		splitStrings := strings.Split(i, " ") | 		splitStrings := strings.Split(i, " ") | ||||||
| 		hostname := splitStrings[1] | 		hostname := splitStrings[1] | ||||||
| 		ip := splitStrings[2] | 		ip := splitStrings[2] | ||||||
| 		txt := splitStrings[3] | 		// txt := splitStrings[3] | ||||||
| 		dns := &model.Results{IP: ip, Hostname: hostname, TXT: txt} | 		dns := &model.Results{IP: ip, Hostname: hostname} | ||||||
| 		b, err := json.Marshal(dns) | 		b, err := json.Marshal(dns) | ||||||
| 		if err != nil { | 		if err != nil { | ||||||
| 			fmt.Println(err) | 			fmt.Println(err) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user