summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-03-07 19:29:35 -0600
committerJeff Carr <[email protected]>2024-03-07 19:29:35 -0600
commitdccda8c69d009f0cec531c4dd33a843c83a1297d (patch)
tree7d019abb6c9f2a535ea3778d709eecede8589936
parenta6351e586d3ac7fe4a66c804a87f82ed1a9b961b (diff)
quiet init()v0.22.1
-rw-r--r--main.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/main.go b/main.go
index e4944e7..e2b4249 100644
--- a/main.go
+++ b/main.go
@@ -74,32 +74,32 @@ func getGuiVersion() (string, error) {
if tmp == nil {
return "", errors.New("compiled without go module support")
}
- fmt.Println("mod.Path = ", tmp.Path)
- fmt.Println("mod.Main.Path = ", tmp.Main.Path)
- fmt.Println("mod.Main.Version = ", tmp.Main.Version)
- fmt.Println("mod.Main.Sum = ", tmp.Main.Sum)
+ // fmt.Println("mod.Path = ", tmp.Path)
+ // fmt.Println("mod.Main.Path = ", tmp.Main.Path)
+ // fmt.Println("mod.Main.Version = ", tmp.Main.Version)
+ // fmt.Println("mod.Main.Sum = ", tmp.Main.Sum)
for _, value := range tmp.Deps {
if value.Path == "go.wit.com/gui" {
found = value.Version
}
- fmt.Println("\tmod.Path = ", value.Path)
- fmt.Println("\tmod.Version = ", value.Version)
+ // fmt.Println("\tmod.Path = ", value.Path)
+ // fmt.Println("\tmod.Version = ", value.Version)
}
if found != "" {
- log.Println("GUI build version:", found)
+ // log.Println("GUI build version:", found)
return found, nil
}
if GUIVERSION != "" {
- log.Println("GUI build ldflag:", GUIVERSION)
+ // log.Println("GUI build ldflag:", GUIVERSION)
return GUIVERSION, nil
}
if os.Getenv("GUIVERSION") != "" {
found = os.Getenv("GUIVERSION") + "-dirty"
- log.Println("GUI build $GUIVERSION", found)
+ // log.Println("GUI build $GUIVERSION", found)
return found, nil
}
found = "pre-v1-GO111"
- log.Println("GUI build version:", found)
+ // log.Println("GUI build version:", found)
return found, errors.New("GO111 developer build")
}