schollz/wifiscan

Question

Opened this issue · 0 comments

looking at this package i like it alot, however i want to get a constant live update of the output for every scan, so i tried the following

for{
	for _, w := range wifis {
		fmt.Println(w.SSID, w.RSSI)
	}
}

for {
time.Sleep(2 * time.Second)
		mainliv() //calling it with a function
}

and a few other things, but receive the same output, is there a way i can change this to work?