feat: basic structure
This commit is contained in:
11
internal/store/account.go
Normal file
11
internal/store/account.go
Normal file
@ -0,0 +1,11 @@
|
||||
package store
|
||||
|
||||
import "github.com/alist-org/alist/v3/internal/model"
|
||||
|
||||
type Account interface {
|
||||
Create(account model.Account) error
|
||||
Update(account model.Account) error
|
||||
Delete(id uint) error
|
||||
GetByID(id uint) (*model.Account, error)
|
||||
List() ([]model.Account, error)
|
||||
}
|
Reference in New Issue
Block a user