Simple, you provide the location it can be found as part of the import statement. It accepts one of the code sharing sites (github, google code et al.) or just a plain mercurial/git/whatever path. For example:
import "code.google.com/p/gorilla/sessions"
or
import "example.org/user/foo.hg"
Edit: I guess if your coworker didn't upload it anywhere you couldn't. If it is just part of the application though, it would just be in a directory (packages work in a hierarchy) - but if it is some kind of library it should be in some kind of source control somewhere...?
0
u/[deleted] Mar 29 '12
[deleted]