Brian, 
Looks like a case of "pilot error".  After tinkering a bit more it started 
to work.  Each directory has its own go.mod file.  Took a little while to 
figure out what the module wanted to see for versioning but that's seems to 
be sorted now.  Still have  a large number of projects to convert but at 
least the process seems to be working ok.  Thanks for the assistance.  
David
On Wednesday, March 17, 2021 at 3:29:37 PM UTC-4 Brian Candler wrote:

> What error do you see?
>
> Are your subdirectories independent modules in their own right (i.e. they 
> have their own "go.mod"), or just separate packages within the same module 
> (go.mod only exists at the top level)?  Normally the latter is what you 
> want.
>
> On Wednesday, 17 March 2021 at 17:57:55 UTC Hotei wrote:
>
>> Heeding the prodding of the go gurus on this list I just converted a 
>> bunch of old code to modules and was wondering what the "module" equivalent 
>> to "go build ./..." is.  I used to be able to use that command at the top 
>> of my code tree and it would attempt to build everything in the subdirs.  
>> Doesn't seem to work now even though each subdir compiles fine 
>> individually.  Haven't been reading golang-nuts every day so sorry if I 
>> missed a previous topic that solves this.
>>
>> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/85c42ff3-9aae-43d2-86db-c0cda0520b08n%40googlegroups.com.

Reply via email to