mirror of
https://github.com/go-ping/ping.git
synced 2025-08-10 09:21:54 +00:00
Removed duplicated fields in struct (#27)
This commit is contained in:
parent
d046b24518
commit
ad2f544f6b
3
ping.go
3
ping.go
@ -93,9 +93,6 @@ func NewPinger(addr string) (*Pinger, error) {
|
|||||||
id: rand.Intn(0xffff),
|
id: rand.Intn(0xffff),
|
||||||
network: "udp",
|
network: "udp",
|
||||||
ipv4: ipv4,
|
ipv4: ipv4,
|
||||||
size: timeSliceLength,
|
|
||||||
network: "udp",
|
|
||||||
ipv4: ipv4,
|
|
||||||
Size: timeSliceLength,
|
Size: timeSliceLength,
|
||||||
|
|
||||||
done: make(chan bool),
|
done: make(chan bool),
|
||||||
|
Loading…
Reference in New Issue
Block a user