mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
18 lines
223 B
Go
18 lines
223 B
Go
//go:build !windows
|
|
// +build !windows
|
|
|
|
package main
|
|
|
|
import "os"
|
|
|
|
func get_user_home_path() string {
|
|
path, exists := os.LookupEnv("HOME")
|
|
if exists {
|
|
return path
|
|
} else {
|
|
return ""
|
|
}
|
|
}
|
|
|
|
func Console(show bool) {
|
|
}
|