Workspaces make this all much easier for me. https://go.dev/doc/tutorial/workspaces
go work I was going mad trying to get modules to work reasonably until I found that. Now, new directory, go mod init <url>, go work use ., go work sync, go tidy, and everything works reasonably without major headaches. Howard -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/6523cd7d-7fa2-4860-b2d6-889c7105882fn%40googlegroups.com.
