Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpolden/echoip.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2018-08-27 22:39:49 +0300
committerMartin Polden <mpolden@mpolden.no>2018-08-27 22:39:49 +0300
commitde54d8832700a6915283604453fe85f29d0d6d2c (patch)
tree2e15ac776320e5b33816be020cbebe767e0649fc /http
parenta6b0a95581a6de9dec359e0d8e856577ab03cc3f (diff)
Fix build
Diffstat (limited to 'http')
-rw-r--r--http/http_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/http/http_test.go b/http/http_test.go
index 107a517..fcbbf79 100644
--- a/http/http_test.go
+++ b/http/http_test.go
@@ -20,11 +20,11 @@ func (t *testDb) Country(net.IP) (geo.Country, error) {
return geo.Country{Name: "Elbonia", ISO: "EB"}, nil
}
-func (t *testDb) City(net.IP) (database.City, error) {
- return database.City{Name: "Bornyasherk"}, nil
+func (t *testDb) City(net.IP) (geo.City, error) {
+ return geo.City{Name: "Bornyasherk"}, nil
}
-func (t *testDb) IsEmpty() bool { return false }
+func (t *testDb) IsEmpty() bool { return false }
func testServer() *Server {
return &Server{gr: &testDb{}, LookupAddr: lookupAddr, LookupPort: lookupPort}