I have questioned the Chat GPT-4 for a ping tool, and the definition was made it, based on some parameters to make a simple program.
go build
After that:
[sudo] ging[.exe] example.com [-c]
Change the example.com
by your host and -c
to continue
until you stop the process.
That's it!