Put api DBs into struct

This commit is contained in:
Arnau B
2020-11-06 11:57:57 +01:00
parent 3591e3c2a2
commit 1112ded933
18 changed files with 172 additions and 172 deletions

View File

@@ -31,18 +31,6 @@ var (
ErrNillBidderAddr = errors.New("biderAddr can not be nil")
)
func getNextForgers(c *gin.Context) {
}
func getState(c *gin.Context) {
}
func getRecommendedFee(c *gin.Context) {
}
func retSQLErr(err error, c *gin.Context) {
if err == sql.ErrNoRows {
c.JSON(http.StatusNotFound, errorMsg{