func main() { ips := proxyhunt.Get82IP() fmt.Println(len(ips)) // for _,ip := range ips { // fmt.Printf("%s\n",ip.Addr) // } }
func ip82Worker() { for { ips := proxyhunt.Get82IP() log.Println("82ip size:", len(ips)) addToQueue(ips) time.Sleep(1 * time.Hour) } }