fix
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package sql_executor
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
"gorm.io/gorm"
|
||||
)
|
||||
|
||||
func RegisterApp(r *gin.Engine, db *gorm.DB) {
|
||||
controller := NewSQLController(db)
|
||||
r.POST("/api/sql/execute", controller.Execute)
|
||||
}
|
||||
Reference in New Issue
Block a user