diff options
| author | Jeff Carr <[email protected]> | 2024-03-07 19:29:35 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-03-07 19:29:35 -0600 |
| commit | dccda8c69d009f0cec531c4dd33a843c83a1297d (patch) | |
| tree | 7d019abb6c9f2a535ea3778d709eecede8589936 /main.go | |
| parent | a6351e586d3ac7fe4a66c804a87f82ed1a9b961b (diff) | |
quiet init()v0.22.1
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -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") } |
