[go-nuts] Go modules and project-local imports.

2019-12-03 Thread Andrei Avram
Are you looking for replace and v0.0.0? https://github.com/golang/go/wiki/Modules#when-should-i-use-the-replace-directive -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an e

[go-nuts] Go modules and project-local imports.

2019-12-03 Thread Bruno Albuquerque
When working with Go modules, what is the idiomatic way to deal with project-local imports (i.e. directories that are not supposed to be checked out separately from everything else. A simple example would be something like this: project/ library.go example/ example.go Here, projec