getConfigDir returns the appropriate config directory path for the current platform.
()
| 104 | |
| 105 | // getConfigDir returns the appropriate config directory path for the current platform. |
| 106 | func getConfigDir() string { |
| 107 | return getConfigDirForOS(runtime.GOOS) |
| 108 | } |
| 109 | |
| 110 | func getConfigDirForOS(goos string) string { |
| 111 | const windowsOS = "windows" |
no test coverage detected