🎨 Improve the code structure
This commit is contained in:
@ -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())
|
||||
}
|
Reference in New Issue
Block a user