feat: add baidu_netdisk driver

This commit is contained in:
Noah Hsu
2022-09-02 22:46:31 +08:00
parent decea4a739
commit 611457c0e7
21 changed files with 711 additions and 48 deletions

View File

@ -4,6 +4,7 @@ import "time"
type Object struct {
ID string
Path string
Name string
Size int64
Modified time.Time
@ -30,8 +31,12 @@ func (o *Object) GetID() string {
return o.ID
}
func (o *Object) SetID(id string) {
o.ID = id
func (o *Object) GetPath() string {
return o.Path
}
func (o *Object) SetPath(id string) {
o.Path = id
}
type Thumbnail struct {