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"`