Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
technoweenie
· 11y ago · 0 comments
How do you handle a custom GOPATH like that when the current repository needs to be in there too? We've tried manually symlinking the repo dir into the custom '$GOPATH/src/github.com/user/repo' dir, but it feels really hacky.
Comments
[–]
anezvigin
11y ago
You can separate multiple paths with a colon.
[–]
bradfitz
11y ago
More specifically, with os.PathListSeparator. (colon on Unix, semicolon on Windows and \x00 on Plan 9)
[–]
lstoll
11y ago
We just keep all our go code in one repo.