summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--humanTable.go3
-rw-r--r--notes1.go4
2 files changed, 3 insertions, 4 deletions
diff --git a/humanTable.go b/humanTable.go
index e94fcb3..6486dcd 100644
--- a/humanTable.go
+++ b/humanTable.go
@@ -12,7 +12,7 @@ import (
// print the header
// args := []string{"namespace", "cur br", "age", "master", "devel", "last tag", "", "", "", ""}
// sizes := []int{40, 12, 6, 12, 16, 16, 16, 12, 12, 8}
-// log.Info(standardTableSize10(sizes, args))
+// lot.Printf(standardTableSize10(sizes, args))
// returns the line and the Sprintf fmt string
func StandardTableRow(sizes []int, args []string) (string, string) {
@@ -88,7 +88,6 @@ func StandardTableSize5(sizes []int, args []string) string {
func StandardTableSize10(sizes []int, args []string) string {
WIDTH, _ := getTerminalWidth()
- // log.Info("WIDTH IS", WIDTH)
var s string
for i, si := range sizes {
if si == 0 {
diff --git a/notes1.go b/notes1.go
index c893273..acdc48b 100644
--- a/notes1.go
+++ b/notes1.go
@@ -13,10 +13,10 @@ func doDebug() {
if err := me.forge.Repos.ConfigSave(); err != nil {
err := ValidateProtoUTF8(me.forge.Repos)
if err != nil {
- log.Printf("Protobuf UTF-8 validation failed: %v\n", err)
+ fmt.Printf("Protobuf UTF-8 validation failed: %v\n", err)
}
if err := bugpb.SanitizeProtoUTF8(me.forge.Repos); err != nil {
- log.Fatalf("Sanitization failed: %v", err)
+ fmt.Fatalf("Sanitization failed: %v", err)
}
}
// badExit(err)