ipinfo.io client in Go Language
Go
Latest commit ddaf086 Sep 20, 2014 @syohex init repos
Permalink
Failed to load latest commit information.
LICENSE
README.md
ipinfo.go

README.md

go-ipinfo

Client of ipinfo.io in Go language.

Sample

package main

import (
    "fmt"
    "net"
    "github.com/syohex/go-ipinfo"
)

func main() {
    info := ipinfo.IPInfo(net.ParseIP("111.222.333.444"))
    fmt.Printf("%v\n", info)
}