[x] Added Get Public IPv4 Address function in network.go
[x] Added panic(err) in every error handling block, because even after the error the function didn't return to main and continued to execute the below lines of code. If it is more verbose panic(err) can be replaced safely with return
[x] Git was tracking, staging and committing executable and binaries so, I have added a rule in .gitignore to not track them.
Fixes #5
[x] Added Get Public IPv4 Address function in network.go
[x] Added
panic(err)
in every error handling block, because even after the error the function didn't return to main and continued to execute the below lines of code. If it is more verbosepanic(err)
can be replaced safely withreturn
[x] Git was tracking, staging and committing executable and binaries so, I have added a rule in .gitignore to not track them.