feat: basic structure

This commit is contained in:
Noah Hsu
2022-06-06 21:48:53 +08:00
parent b76060570e
commit fced60c2b5
21 changed files with 520 additions and 4 deletions

11
internal/store/account.go Normal file
View 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)
}