Skip to content

Commit

Permalink
delete unneness func
Browse files Browse the repository at this point in the history
  • Loading branch information
vexsx committed Jan 11, 2024
1 parent bb2b468 commit b214b4c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit b214b4c

Please sign in to comment.