top | item 9701342

(no title)

technoweenie | 10 years ago

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.

discuss

order

anezvigin|10 years ago

You can separate multiple paths with a colon.

bradfitz|10 years ago

More specifically, with os.PathListSeparator. (colon on Unix, semicolon on Windows and \x00 on Plan 9)

lstoll|10 years ago

We just keep all our go code in one repo.