🎨 Improve the code structure

This commit is contained in:
微凉
2021-12-06 15:55:05 +08:00
parent 7dfe48339c
commit 1779617cb9
24 changed files with 212 additions and 181 deletions

View File

@ -1,10 +1,10 @@
package server
import (
"github.com/Xhofe/alist/drivers"
"github.com/Xhofe/alist/drivers/base"
"github.com/gin-gonic/gin"
)
func GetDrivers(c *gin.Context) {
SuccessResp(c, drivers.GetDrivers())
SuccessResp(c, base.GetDrivers())
}