Skip to content

KeJunMao/ipgetter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ipgetter

This package is designed to fetch your external IP address from the internet.

Usage

package main

import (
	"fmt"
	"github.com/kejunmao/ipgetter"
)

func main()  {
	fmt.Println(ipgetter.Myip())
}

Command Usage

$ go install github.com/kejunmao/ipgetter/...
$ ipgetter
8.8.8.8

About

This package is designed to fetch your external IP address from the internet.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors