feat(thoth): cached ip to asn checker

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-05-21 11:27:53 -04:00
parent 946557b378
commit 315253dce7
6 changed files with 82 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/joho/godotenv"
)
func loadSecrets(t *testing.T) *Client {
func loadSecrets(t testing.TB) *Client {
if err := godotenv.Load(); err != nil {
t.Skip(".env not defined, can't load thoth secrets")
}