🎨 Improve the code structure
This commit is contained in:
11
server/controllers/driver.go
Normal file
11
server/controllers/driver.go
Normal file
@ -0,0 +1,11 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
"github.com/Xhofe/alist/drivers/base"
|
||||
"github.com/Xhofe/alist/server/common"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func GetDrivers(c *gin.Context) {
|
||||
common.SuccessResp(c, base.GetDrivers())
|
||||
}
|
Reference in New Issue
Block a user