From c3e3dfd20952acfdf58d018cf16b3c2cd8bc2ae3 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 12 Dec 2024 18:59:16 -0600 Subject: rename as go-mod-clean Signed-off-by: Jeff Carr --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index bc22f4c..722171a 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,20 @@ -# go-clean +# go-mod-clean This is a hack to experiement with trimming unused entries from the go.sum files. Since go.sum files need to be recursively processed, this attempts to remove unused entries. There are all sorts of real world reasons on why this needs to be done sometimes. -* go-clean tries to remove uneeded entries from the go.sum file. -* You must run go-clean in ~/go/src for this to work. +* go-mod-clean tries to remove uneeded entries from the go.sum file. +* You must run go-mod-clean in ~/go/src for this to work. -# Install go-clean +# Install go-mod-clean - go install go.wit.com/apps/go-clean@latest + go install go.wit.com/apps/go-mod-clean@latest # How it works -go-clean is very simple. It will run 'go build' with GO111MODULE=off. In this mode, +go-mod-clean is very simple. It will run 'go build' with GO111MODULE=off. In this mode, go will compile directly based on the 'import' paths. It simply parses the errors from 'go build' and makes sure the appropriate entries are in the go.sum file. -- cgit v1.2.3