Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 328 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 328 Bytes

myip

  • myip is a command to get a simple ip address.
  • the remote IP address is obtained from ifconfig.io.

Installation

go install github.com/hidetzu/myip/cmd/myip@latest

Usage

Get local ip address

myip

Get remote ip address

myip -remote

License

MIT