Using repository on non-standard port

39 views
Skip to first unread message

Brian Candler

unread,
Jun 25, 2020, 9:46:30 AM6/25/20
to golang-nuts
If I have a local bitbucket server which is accessible via ssh on port 7990, what's the best way to use it with go.mod?

which said that module paths are for module identity rather than module location, which is fair enough, but how can I make it resolve to the right location?

I could just checkout the repo manually and then use 'replace' to point to the local checkout directory.  I'm trying to find a way to avoid that, especially as every user would have to do the same.

Thanks,

Brian.
Reply all
Reply to author
Forward
0 new messages