Trying to make modules work for the below project structure

.
├── bll
│   ├── billing
│   │   ├── details.go
│   │   └── go.mod
│   ├── complaint
│   │   ├── details.go
│   │   └── go.mod
│   └── task
│       ├── details.go
│       └── go.mod
├── go.mod
└── services
    ├── billing
    │   ├── go.mod
    │   └── main.go
    ├── complaint
    │   ├── go.mod
    │   └── main.go
    └── task
        ├── go.mod
        └── main.go


Already tried solutions for a similar question :

https://github.com/go-modules-by-example/index/tree/master/009_submodules
https://roberto.selbach.ca/intro-to-go-modules/

*if the modues are nested as above, how does the git tag(s) change ??? 
tried bll/task/v0.1.1 and task/v0.1.1 etc. did not work.*

error is like:

*cannot find module providing package github.com/{name}/{repo}/bll/task *

*should bll/go.mod services/go.mod be there ? (tried that also , didn't 
work)*

I have seen examples for single level directories, but not for nested ones.

Can you please point out what I am missing ?

Thanks.

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to