summaryrefslogtreecommitdiff
path: root/doRedoGoMod.go
diff options
context:
space:
mode:
Diffstat (limited to 'doRedoGoMod.go')
-rw-r--r--doRedoGoMod.go28
1 files changed, 0 insertions, 28 deletions
diff --git a/doRedoGoMod.go b/doRedoGoMod.go
deleted file mode 100644
index a3cbf22..0000000
--- a/doRedoGoMod.go
+++ /dev/null
@@ -1,28 +0,0 @@
-package main
-
-// An app to submit patches for the 30 GO GUI repos
-
-func doRedoGoMod() {
- // me.forge.RillRedoGoMod()
- all := me.forge.Repos.SortByFullPath()
- for all.Scan() {
- repo := all.Next()
- if err := repo.ValidGoSum(); err == nil {
- continue
- }
- if err := repo.RunStrict([]string{"go-mod-clean"}); err != nil {
- badExit(err)
- }
- }
-}
-
-func doEraseGoMod() {
- /*
- var cmds [][]string
- cmds = append(cmds, []string{"rm", "-f", "go.mod", "go.sum"})
- errs := me.forge.RillCmds(me.packs, cmds)
- foreach x, y := range errs {
- log.Info("EraseGoMod() error", x.GoPath, y)
- }
- */
-}