mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-09-19 20:26:26 +08:00
12 lines
269 B
Go
12 lines
269 B
Go
![]() |
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)
|
||
|
}
|