Today I Learned

hashrocket A Hashrocket project

How to remove unused go modules

When using go modules, you can remove unsed dependancies from the go.mod file by running:

$ go mod tidy

vim

See More #go TILs