4 ms·
The in-article version has a time.Sleep(2 * time.Second) after the scan loop. Not exactly reliable (waitgroups or channel signaling would be better) but better
by Liru 11y ago
The in-article version has a time.Sleep(2 * time.Second) after the scan loop. Not exactly reliable (waitgroups or channel signaling would be better) but better than nothing.
- jtwaleson 11y agoAs you can see from almost all commands / snippets in the article, I took the pragmatic approach for this project ;)