From b214b4c5e6cca2b8052159611ca7cf1094590a07 Mon Sep 17 00:00:00 2001 From: vexsx Date: Thu, 11 Jan 2024 20:55:53 +0330 Subject: [PATCH] delete unneness func --- main.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/main.go b/main.go index 258ab13..5592044 100644 --- a/main.go +++ b/main.go @@ -126,9 +126,3 @@ func printHeader() { fmt.Print(colorfulHeader) } - -func printError(err error) { - errorMsg := fmt.Sprintf("Error: %s\n", err) - colorfulErrorMsg := "\033[1;31m" + errorMsg + "\033[0m" - fmt.Print(colorfulErrorMsg) -}