diff options
| author | Jeff Carr <[email protected]> | 2024-11-06 16:31:23 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-06 16:31:23 -0600 |
| commit | 30f507338d5c4d3be9acc6e6f23e5461fc3a5d7b (patch) | |
| tree | fcb0ba387ce6e9e7c3bb63dd5104c5e765f80121 /main.go | |
| parent | 98e64560df3f69c9a7cb62fd74e31361ef6e906b (diff) | |
omg. never did os.UserHomeDir()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |
