(filename, dir string)
| 68 | } |
| 69 | |
| 70 | func getFilePath(filename, dir string) string { |
| 71 | if dir != "" { |
| 72 | return filepath.Join(dir, filename) |
| 73 | } |
| 74 | return filename |
| 75 | } |
| 76 | |
| 77 | func readDotEnv(dir string) { |
| 78 | env, err := godotenv.Read(getFilePath(".env", dir)) |
no outgoing calls
no test coverage detected
searching dependent graphs…