Fix formats

This commit is contained in:
Alireza Ahmadi
2023-02-16 10:38:42 +01:00
parent 1700e85d06
commit 35de896e5e
12 changed files with 87 additions and 88 deletions

View File

@@ -3,6 +3,7 @@ package controller
import (
"github.com/gin-gonic/gin"
)
type APIController struct {
BaseController
@@ -26,11 +27,9 @@ func (a *APIController) initRouter(g *gin.RouterGroup) {
g.POST("/del/:id", a.delInbound)
g.POST("/update/:id", a.updateInbound)
a.inboundController = NewInboundController(g)
}
func (a *APIController) inbounds(c *gin.Context) {
a.inboundController.getInbounds(c)
}