I am trying to find the location and timezone for any IP address using the Go standard library, but could not find any solution yet.
I was experimenting to find the IP address of any client sending a request, figured one way by using go methods as below and cleaning their responses.
req.Header.Get("x-forwarded-for")
req.RemoteAddr
But once I get the IP. Is there any method in Go using the standard library to get the location and timezone of that IP, I can't make use of any third party API Calls or third party libraries. Any pointers will be helpful.