Skip to content

Instantly share code, notes, and snippets.

@jniltinho
jniltinho / myip.go
Created Mar 26, 2014
Get My IP Golang
View myip.go
package main
/*
URL: https://github.com/mccoyst/myip/blob/master/myip.go
URL: http://changsijay.com/2013/07/28/golang-get-ip-address/
*/
import (
"net"
"os"