From c4f18766cbbbd0fe46ffd10cf21cba60ae8aebbf Mon Sep 17 00:00:00 2001 From: nxshock Date: Wed, 19 Oct 2022 18:46:55 +0500 Subject: [PATCH] Remove debug Println --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 1d771d4..0989349 100644 --- a/main.go +++ b/main.go @@ -110,7 +110,7 @@ func main() { func processReader(c *cli.Context, r io.Reader) error { var encoding Encoding - fmt.Println(c.String("encoding")) + err := encoding.UnmarshalText([]byte(c.String("encoding"))) if err != nil { return fmt.Errorf("get decoder: %v", c.String("encoding"))