fix: remove redundant godotenv import

The godotenv/autoload import was duplicated in both config.go and
server.go. Keep it only in config.go where configuration is loaded.

closes #11
This commit is contained in:
clawbot 2026-03-01 15:53:43 -08:00
parent 291e60adb2
commit 6ff2bc7647

View File

@ -19,15 +19,6 @@ import (
"github.com/getsentry/sentry-go"
"github.com/go-chi/chi"
// spooky action at a distance!
// this populates the environment
// from a ./.env file automatically
// for development configuration.
// .env contents should be things like
// `DBURL=postgres://user:pass@.../`
// (without the backticks, of course)
_ "github.com/joho/godotenv/autoload"
)
// ServerParams is a standard fx naming convention for dependency injection