feat: remove unused code
This commit is contained in:
parent
e45db3b3f2
commit
a091a6198c
1 changed files with 0 additions and 8 deletions
8
main.go
8
main.go
|
|
@ -21,14 +21,6 @@ import (
|
||||||
|
|
||||||
var pool *pgxpool.Pool
|
var pool *pgxpool.Pool
|
||||||
|
|
||||||
func convErrorHandler(str string, err error) string {
|
|
||||||
if err != nil {
|
|
||||||
return err.Error()
|
|
||||||
}
|
|
||||||
|
|
||||||
return str
|
|
||||||
}
|
|
||||||
|
|
||||||
type RequestError struct {
|
type RequestError struct {
|
||||||
Code string `json:"code"`
|
Code string `json:"code"`
|
||||||
Message string `json:"messaage"`
|
Message string `json:"messaage"`
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue