Re: [go-nuts] Re: developing local packages with modules

2020-06-07 Thread Erwin
Yes Brian, this the way it is done in the "How to write Go code" article, and it indeed works. At least, when package morestrings is imported in the hello module where it is part of. I did get that to work, but... i wanted to take the next step and import that package morestrings in a whole new mod

[go-nuts] Re: developing local packages with modules

2020-06-07 Thread Brian Candler
On Sunday, 7 June 2020 14:20:40 UTC+1, Erwin Driessens wrote: > > > However, my next quest was to import the hello/morestrings package in > another module and use it there. I can['t] get it to work :( > Does anyone know of a good document/wiki/tutorial about developing go code > that is not on re

[go-nuts] Re: developing local packages with modules

2020-06-07 Thread Erwin Driessens
should be: "i can't get it to work", instead of "i can get it to work", sadly enough On Sunday, June 7, 2020 at 3:20:40 PM UTC+2, Erwin Driessens wrote: > > Hello people > i have always found modules very scary and complicated but now there seems > to be no way round any longer. > I have a lot