This is a small tool for translate host domain into IP address.
Usage:
make url="your url"
Example:
make url=google.com
result: 74.125.24.113
Import:
go get github.com/captain-corgi/translate-host-to-ip
Usage:
import "github.com/captain-corgi/translate-host-to-ip/pkg/iptrans" .... iptrans.Lookup("url")