Minor changes
This commit is contained in:
parent
ff0870341f
commit
c209f855aa
2 changed files with 3 additions and 3 deletions
|
|
@ -46,9 +46,8 @@ func main() {
|
|||
trial := net.ParseIP(ip)
|
||||
if trial.To4() == nil {
|
||||
continue
|
||||
} else {
|
||||
fmt.Println(ip)
|
||||
}
|
||||
fmt.Println(ip)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue