Fix build

This commit is contained in:
Martin Polden 2018-08-27 21:39:49 +02:00
parent a6b0a95581
commit de54d88327
2 changed files with 4 additions and 4 deletions

View File

@ -20,8 +20,8 @@ func (t *testDb) Country(net.IP) (geo.Country, error) {
return geo.Country{Name: "Elbonia", ISO: "EB"}, nil return geo.Country{Name: "Elbonia", ISO: "EB"}, nil
} }
func (t *testDb) City(net.IP) (database.City, error) { func (t *testDb) City(net.IP) (geo.City, error) {
return database.City{Name: "Bornyasherk"}, nil return geo.City{Name: "Bornyasherk"}, nil
} }
func (t *testDb) IsEmpty() bool { return false } func (t *testDb) IsEmpty() bool { return false }

View File

@ -1,8 +1,8 @@
package geo package geo
import ( import (
"net"
"math" "math"
"net"
geoip2 "github.com/oschwald/geoip2-golang" geoip2 "github.com/oschwald/geoip2-golang"
) )