Remove hard-coded directory path
This commit is contained in:
parent
06167c4b67
commit
569104f479
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
package lib
|
||||
|
||||
import "os"
|
||||
|
||||
func GetZetDir() string {
|
||||
return "/home/opdavies/Documents/zet"
|
||||
return os.Getenv("ZET_DIRECTORY")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue