mirror of
https://github.com/sstent/go-garminconnect.git
synced 2026-01-25 16:42:32 +00:00
garth more done
This commit is contained in:
@@ -20,7 +20,7 @@ func main() {
|
||||
if err := godotenv.Load(); err != nil {
|
||||
fmt.Println("Failed to load .env file:", err)
|
||||
}
|
||||
|
||||
|
||||
// Re-check after loading .env
|
||||
if os.Getenv("GARMIN_USERNAME") == "" || os.Getenv("GARMIN_PASSWORD") == "" {
|
||||
fmt.Println("GARMIN_USERNAME and GARMIN_PASSWORD must be set in environment or .env file")
|
||||
|
||||
Reference in New Issue
Block a user