From fe571e8e4edcda6a4c3a222a4201ae24bd5c542f Mon Sep 17 00:00:00 2001 From: esrrhs Date: Wed, 22 Feb 2023 21:30:11 +0800 Subject: [PATCH] add --- country_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/country_test.go b/country_test.go index 6b7a819..f70496e 100644 --- a/country_test.go +++ b/country_test.go @@ -6,7 +6,7 @@ import ( ) func TestNew(t *testing.T) { - Load("./GeoLite2-Country.mmdb") + LoadGeoDB("./GeoLite2-Country.mmdb") fmt.Println(GetCountryIsoCode("39.106.101.133")) fmt.Println(GetCountryIsoCode(""))