```go
targets := make([]*Target, len(addrs))
for i, addr := range addrs {
   targets[i] = &Target{...}
}
```