From c2883384fe9e21b030b11ffeeed4a018f0779b2c Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Wed, 25 Sep 2024 10:54:25 +0200 Subject: [PATCH] fix #2: do not print status info if unrequested --- config.go | 2 +- generate.go | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/config.go b/config.go index ea3e0ae..28d1a4a 100644 --- a/config.go +++ b/config.go @@ -124,7 +124,7 @@ var Templates = map[string]string{ } const ( - VERSION string = "0.0.2" + VERSION string = "0.0.3" DefaultCount int = 160 // number of words to generate if -c is omitted DefaultColumns int = 10 // number of columns to print MaxWidth int = 72 // max width of output, adjusts columns diff --git a/generate.go b/generate.go index 08fe107..01b6f34 100644 --- a/generate.go +++ b/generate.go @@ -55,8 +55,6 @@ func Generate(conf *Config) ([]string, error) { } } - fmt.Println("fetched names") - slog.Debug("Generated fantasy names from code", "code", conf.Code, "count-names", len(reg))