Beispiel #1
0
func GetUserConfigDir() string {
	return C.GoString(C.to_charptr(C.g_get_user_config_dir()))
}
Beispiel #2
0
// GetUserConfigDir is a wrapper around g_get_user_config_dir().
// Returns a base directory in which to store user-specific application configuration information
// such as user preferences and settings.
func GetUserConfigDir() string {
	c := C.g_get_user_config_dir()
	return C.GoString((*C.char)(c))
}
Beispiel #3
0
//runtime => config
func GetUserRuntimeDir() string {
	//return C.GoString(C.to_charptr(C.g_get_user_runtime_dir()))
	return C.GoString(C.to_charptr(C.g_get_user_config_dir()))
}