New method
This commit is contained in:
@@ -45,3 +45,8 @@ func singleJoiningSlash(a, b string) string {
|
||||
}
|
||||
return a + b
|
||||
}
|
||||
|
||||
// GetGlobalConfigurationFile returns OS specific file location
|
||||
func GetGlobalConfigurationFile(appname string, file string) string {
|
||||
return filepath.Join(GetGlobalConfigurationDirectory(appname), file)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user