Advertisement
FlyFar

home_unix.go

Dec 17th, 2023
828
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.11 KB | Cybersecurity | 0 0
  1. // +build !windows
  2.  
  3. package main
  4.  
  5. import (
  6.     "os"
  7. )
  8.  
  9. func GetHomeDir() string {
  10.     return os.Getenv("HOME")
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement