Skip to content

Instantly share code, notes, and snippets.

View bevanz's full-sized avatar

Bevanz bevanz

View GitHub Profile
@bevanz
bevanz / myip.go
Created May 8, 2016 16:49 — forked from jniltinho/myip.go
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"