Skip to content

Instantly share code, notes, and snippets.

View pashok2398's full-sized avatar

Pavel Druyan pashok2398

View GitHub Profile
@jniltinho
jniltinho / myip.go
Created March 26, 2014 16:55
Get My IP Golang
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"