Hi Sankar,
How many repos are you directly modifying?
> In modules, there finally is a name for the subdirectory. If the parent directory says "module m" then the subdirectory is imported as "m/subdir", no longer "./subdir".
If you end up with one module per repo, a related question would be how many modules are you editing at roughly the same time? If that is part of your concern or question, then there are a few different options there. I'll include a few pointers here for things to review and consider, but then after looking over those, you might want to circle back here with additional questions or comments on your use case.
For editing multiple modules at the same time, one approach is to use the 'replace' directive to point to local copies. You can read a bit more about that in this FAQ on the modules wiki:
"FAQ: When should I use the replace directive?"
A related but more automated approach is
github.com/rogpeppe/gohack, which is a new community tool to automate and simplify 'replace' and multi-module workflows, including allowing you to easily modify one of your dependencies. For example, 'gohack
example.com/some/dependency' automatically clones the appropriate repository and adds the necessary replace directives to your 'go.mod' so that you can edit that dependency and build using those edits, all locally and without requiring you to commit anything yet. You can read more about 'gohack' at the repo, or you can also see a worked example of using 'gohack' at the 'Go Modules by Example' site here:
https://github.com/go-modules-by-example/index/blob/master/011_using_gohack/README.md
There are several more options as well for multi-module workspaces, including the core go tooling seems to have been built to make it possible to build more specific tools on top. There's an overview of several of the options in the following thread, including possibly using commit hooks, or using pre-release semver tags, etc., as well as some pointers to related discussion issues in the tracker:
Sorry that is probably not 100% answering your question, but perhaps you can say a bit more about your specifics, which then likely will trigger some more specific comments from this list.
--thepudds