Minor changes

This commit is contained in:
Mihalis Tsoukalos 2019-05-20 20:25:23 +03:00
commit c209f855aa
2 changed files with 3 additions and 3 deletions

View file

@ -46,9 +46,8 @@ func main() {
trial := net.ParseIP(ip)
if trial.To4() == nil {
continue
} else {
fmt.Println(ip)
}
fmt.Println(ip)
}
}
}

View file

@ -33,7 +33,8 @@ func main() {
Tel: []Telephone{Telephone{Mobile: true, Number: "1234-567"},
Telephone{Mobile: true, Number: "1234-abcd"},
Telephone{Mobile: false, Number: "abcc-567"},
}}
},
}
saveToJSON(os.Stdout, myRecord)
}