summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.go b/main.go
index 9831439..d5fe4e7 100644
--- a/main.go
+++ b/main.go
@@ -39,7 +39,9 @@ func main() {
basicWindow = makebasicWindow()
- filepath := filepath.Join("/home/jcarr/go/src", argv.Repo)
+ // todo: add the go.work file logic here
+ homeDir, _ := os.UserHomeDir()
+ filepath := filepath.Join(homeDir, "go/src", argv.Repo)
os.Chdir(filepath)
// scan the repo