[go-nuts] Re: Go module and local dependencies

2019-09-06 Thread Guillaume Lescure
Hi t hepudds Yeah this is exactly what I was looking for, thanks a lot. I search everywhere on the Go website and the Go blog but I didn't go on the Github, my bad. With this help, I'm able to build it but in an other more complicated exemple I have an issue : if I add a 2nd library that need

[go-nuts] Re: Go module and local dependencies

2019-09-04 Thread t hepudds
Hello Guillaume, I haven't had a chance to look at your example closely, but it seems you have two modules defined on your local filesystem, with two go.mod files total. If that is what you are trying to do, one approach is to use a `replace` directive to let one module know about the on-disk

[go-nuts] Re: Go module and local dependencies

2019-09-02 Thread Igor Maznitsa
maven golang plugin allows to process such cases automatically and organize mix from local parts of project and modules , but it needs knowledge of

[go-nuts] Re: Go module and local dependencies

2019-09-01 Thread Guillaume Lescure
Hi, Thanks for the comments and the ideas :) 1. Try 'go build ./...' from the root directory of the module to build all > the packages in the module. 'go build' without any arguments is the same > as 'go build .' which means just build the current directory/package. I didn't know the