From a091a6198ca495cfa23ee075c2b3e13faa29dc0e Mon Sep 17 00:00:00 2001 From: etwas Date: Tue, 15 Apr 2025 21:50:33 +0200 Subject: [PATCH] feat: remove unused code --- main.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/main.go b/main.go index 9f844e0..1d7bcba 100644 --- a/main.go +++ b/main.go @@ -21,14 +21,6 @@ import ( var pool *pgxpool.Pool -func convErrorHandler(str string, err error) string { - if err != nil { - return err.Error() - } - - return str -} - type RequestError struct { Code string `json:"code"` Message string `json:"messaage"`