diff --git a/main.go b/main.go index 2fd1c58..82a4418 100644 --- a/main.go +++ b/main.go @@ -43,4 +43,9 @@ type Rectangle struct { } func main() { + // Load .env file if it exists + err := godotenv.Load(".env") + if err != nil { + log.Fatal("Error loading .env file") + } }