Hi Sandro, Vendoring is another approach that can work here.
In a pre-modules world, vendoring is fairly well known. In a modules world, vendoring is still an option. For example, you can see this FAQ here that touches on using 'go mod vendor' with modules: https://github.com/golang/go/wiki/Modules#how-do-i-use-vendoring-with-modules-is-vendoring-going-away An alternative approach in a modules world is to use the module cache. It can end up with similar benefits as traditional vendoring (and in some ways ends up with a higher fidelity copy), but uses a different technique. This approach is explained as a "Go Modules by Example" walkthrough here: https://github.com/go-modules-by-example/index/blob/master/012_modvendor/README.md Best, thepudds On Wednesday, December 12, 2018 at 3:52:58 PM UTC-5, snmed wrote: > > Thank you for you reply, > > yes i have already read about that project, but as far as I see, there is > no offline loading implemented. > But I'm sure it would be doable with some customisation. I wondering if > there is another approach for an offline scenario. > > Some other ideas or suggestions? > > Thanks in advance > Sandro > > Am Mittwoch, 12. Dezember 2018 21:04:07 UTC+1 schrieb Burak Serdar: >> >> On Wed, Dec 12, 2018 at 1:00 PM snmed <sandro....@gmail.com> wrote: >> > >> > Hi all >> > >> > Our customer demands an offline development environment with no >> internet connection, is there any best practices to handle package download >> and project setup for such an use case? And how would the new go modules >> fit in in such an environment? >> >> Somebody just mentioned this today. It looks like it is doing what >> you're asking for: >> >> https://github.com/gomods/athens >> >> >> > >> > Any advise will be most appreciated. >> > >> > Cheers Sandro >> > >> > -- >> > 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...@googlegroups.com. >> > For more options, visit https://groups.google.com/d/optout. >> > -- 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.