func Home() string {
	// Used when running inside a confined snap.
	realHome, exists := os.LookupEnv("SNAP_REAL_HOME")
	if exists {
		return realHome
	}
	return os.Getenv("HOME")
}
// Home returns the os-specific home path.
// Always returns the "real" home, not the
// confined home that is used when running
// inside a strictly confined snap.
Home returns the os-specific home path.
Always returns the "real" home, not the
confined home that is used when running
inside a strictly confined snap.
// Home returns the os - specific home path . // Always returns the " real " home not the // confined home that is used when running // inside a strictly confined snap .
func Home() string {
	realHome, exists := os.LookupEnv("SNAP_REAL_HOME")
	if exists {
		return realHome
	}
	return os.Getenv("HOME")
}
func Home ( ) string { realHome , exists := os . LookupEnv ( " " ) if exists { return realHome } return os . Getenv ( " " ) }
Home returns the os-specific home path.
Home returns the os - specific home path .
// Used when running inside a confined snap.