mirror of
https://github.com/krau/SaveAny-Bot.git
synced 2026-08-29 04:06:42 +08:00
chore: format code for consistency and readability
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
package tasktype
|
package tasktype
|
||||||
|
|
||||||
//go:generate go-enum --values --names --flag --nocase
|
|
||||||
// ENUM(tgfiles,tphpics,parseditem,directlinks,aria2,ytdlp,transfer)
|
// ENUM(tgfiles,tphpics,parseditem,directlinks,aria2,ytdlp,transfer)
|
||||||
|
//
|
||||||
|
//go:generate go-enum --values --names --flag --nocase
|
||||||
type TaskType string
|
type TaskType string
|
||||||
|
|||||||
@@ -41,15 +41,15 @@ type Response struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type Propstat struct {
|
type Propstat struct {
|
||||||
Prop Prop `xml:"prop"`
|
Prop Prop `xml:"prop"`
|
||||||
Status string `xml:"status"`
|
Status string `xml:"status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Prop struct {
|
type Prop struct {
|
||||||
ResourceType ResourceType `xml:"resourcetype"`
|
ResourceType ResourceType `xml:"resourcetype"`
|
||||||
GetContentLength int64 `xml:"getcontentlength"`
|
GetContentLength int64 `xml:"getcontentlength"`
|
||||||
GetLastModified string `xml:"getlastmodified"`
|
GetLastModified string `xml:"getlastmodified"`
|
||||||
DisplayName string `xml:"displayname"`
|
DisplayName string `xml:"displayname"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceType struct {
|
type ResourceType struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user