🎇 support lanzou
This commit is contained in:
@ -16,6 +16,8 @@ type File struct {
|
||||
UpdatedAt *time.Time `json:"updated_at"`
|
||||
Thumbnail string `json:"thumbnail"`
|
||||
Url string `json:"url"`
|
||||
SizeStr string `json:"size_str"`
|
||||
TimeStr string `json:"time_str"`
|
||||
}
|
||||
|
||||
func SortFiles(files []File, account *Account) {
|
||||
@ -63,4 +65,4 @@ func (f File) ModTime() time.Time {
|
||||
|
||||
func (f File) IsDir() bool {
|
||||
return f.Type == conf.FOLDER
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user