Skip to content

davidwallacejackson/go-modules-problem-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-modules-problem-repro

If you load this project in VSCode by way of the workspace file in the repo, you'll see that as you load each of the go files, each module's go.mod is updated to contain more dependencies. Eventually, all three go.mod files will have the same deps.

I'd expect each module's go.mod to contain only its referenced dependencies. Interestingly, if you run go mod tidy in any of the three module dirs, the unused dependencies will be stripped out -- but then VSCode, if it's still running, will inject them again.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages