()
| 20 | ) |
| 21 | |
| 22 | func parse() { |
| 23 | Port = getDefault("PORT", "8080") |
| 24 | DSN = getDefault("DSN", "mongodb://localhost:27017") |
| 25 | |
| 26 | log.Printf("• Port=%s\n", Port) |
| 27 | log.Printf("• DSN=%s\n", DSN) |
| 28 | } |
| 29 | |
| 30 | // Load loads environment variables that are being used across the whole app. |
| 31 | // Loading from file(s), i.e .env or dev.env |
no test coverage detected
searching dependent graphs…