Skip to content

armgit / posta

Public Imported from GitHub
0

Self-hosted email delivery platform that enables applications to send emails via HTTP APIs while handling SMTP delivery, templates, storage, security, and analytics. Fully self-hostable alternative to services like SendGrid or Mailgun.

Suppress unused variable warning for Unsetenv

Jonas Kanindae13a5c367a35
diff --git a/internal/config/config_test.go b/internal/config/config_test.go
index d531cde..25f515b 100644
--- a/internal/config/config_test.go
+++ b/internal/config/config_test.go
@@ -33,7 +33,7 @@ func clearRedisEnv(t *testing.T) {
"POSTA_REDIS_URL",
} {
t.Setenv(k, "")
- os.Unsetenv(k)
+ _= os.Unsetenv(k)
}
}