Skip to content

captain-corgi/translate-host-to-ip

TRANSLATE HOST TO IP

gopherbadger-tag-do-not-edit

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 into your project:

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")

About

This is a small tool for translate host domain into IP address

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published