> >>One solution is apparently to use a module like a giant mono repo, aka
> >>gopath>
Still it requires for this replace
You do not need replace, unless you are amalgamating multiple modules.
You can just create a folder named e.g. library with a .go file; package lib
Then in your other folders with package main, .go files:
You can
import (
lib "{moduleName}"/library
)
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/221d2ca3-ab29-0d21-5386-dc86ebb5d190%40gmail.com.