feat: driver and account operate

This commit is contained in:
Noah Hsu
2022-06-09 17:11:46 +08:00
parent 5b73b68eb5
commit e1a2ed0436
13 changed files with 209 additions and 44 deletions

View File

@ -1,6 +1,9 @@
package local
import "github.com/alist-org/alist/v3/internal/driver"
import (
"github.com/alist-org/alist/v3/internal/driver"
"github.com/alist-org/alist/v3/internal/operations"
)
type Addition struct {
RootFolder string `json:"root_folder" help:"root folder path" default:"/"`
@ -17,5 +20,5 @@ func New() driver.Driver {
}
func init() {
driver.RegisterDriver(config, New)
operations.RegisterDriver(config, New)
}