chore: format code for consistency and readability

This commit is contained in:
krau
2026-03-05 17:20:45 +08:00
parent 70f7172162
commit f377ee3ca4
4 changed files with 15 additions and 14 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
package tasktype
//go:generate go-enum --values --names --flag --nocase
// ENUM(tgfiles,tphpics,parseditem,directlinks,aria2,ytdlp,transfer)
//
//go:generate go-enum --values --names --flag --nocase
type TaskType string
+5 -5
View File
@@ -41,15 +41,15 @@ type Response struct {
}
type Propstat struct {
Prop Prop `xml:"prop"`
Prop Prop `xml:"prop"`
Status string `xml:"status"`
}
type Prop struct {
ResourceType ResourceType `xml:"resourcetype"`
GetContentLength int64 `xml:"getcontentlength"`
GetLastModified string `xml:"getlastmodified"`
DisplayName string `xml:"displayname"`
ResourceType ResourceType `xml:"resourcetype"`
GetContentLength int64 `xml:"getcontentlength"`
GetLastModified string `xml:"getlastmodified"`
DisplayName string `xml:"displayname"`
}
type ResourceType struct {