Documentation ¶
Overview ¶
Package geoip provides fastest GeoIP Country library for Go.
package main import ( "fmt" "net" "github.com/phuslu/geoip" ) func main() { fmt.Printf("%s", geoip.Country(net.ParseIP("2001:4860:4860::8888"))) } // Output: US
Index ¶
Constants ¶
View Source
const Version = "v1.0.20200806"
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.