On Sun, Oct 21, 2018, at 11:31, Sankar wrote:
> For such a hybrid requirement, what is the most recommended way to import
> and structure our libraries and the source directories, to work with go
> modules?
A single module at the root of the project should give you what you want.
Create the file: ~/go/src/gitlab.com/example/go.mod
and then add the line:
module gitlab.com/example
and build. Everything should work and the local copy of your libraries will be
used because they are in the same module.
—Sam
--
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 email
to [email protected].
For more options, visit https://groups.google.com/d/optout.