🐝 reformat code

This commit is contained in:
微凉
2021-03-05 21:25:44 +08:00
parent d137ef8759
commit 3138e031f5
28 changed files with 389 additions and 389 deletions

View File

@@ -6,15 +6,15 @@ import (
"net/http"
)
var(
Debug bool // is debug command
Help bool // is help command
Version bool // is print version command
Con string // config file
SkipUpdate bool // skip update
var (
Debug bool // is debug command
Help bool // is help command
Version bool // is print version command
Con string // config file
SkipUpdate bool // skip update
Client *http.Client // request client
Authorization string // authorization string
Client *http.Client // request client
Authorization string // authorization string
Cache *cache.Cache // cache
@@ -26,18 +26,18 @@ var(
var Conf = new(Config)
const (
VERSION="v0.1.7"
VERSION = "v0.1.7"
ImageThumbnailProcess="image/resize,w_50"
VideoThumbnailProcess="video/snapshot,t_0,f_jpg,w_50"
ImageUrlProcess="image/resize,w_1920/format,jpeg"
ASC="ASC"
DESC="DESC"
OrderUpdatedAt="updated_at"
OrderCreatedAt="created_at"
OrderSize="size"
OrderName="name"
OrderSearch="type ASC,updated_at DESC"
AccessTokenInvalid="AccessTokenInvalid"
Bearer="Bearer\t"
)
ImageThumbnailProcess = "image/resize,w_50"
VideoThumbnailProcess = "video/snapshot,t_0,f_jpg,w_50"
ImageUrlProcess = "image/resize,w_1920/format,jpeg"
ASC = "ASC"
DESC = "DESC"
OrderUpdatedAt = "updated_at"
OrderCreatedAt = "created_at"
OrderSize = "size"
OrderName = "name"
OrderSearch = "type ASC,updated_at DESC"
AccessTokenInvalid = "AccessTokenInvalid"
Bearer = "Bearer\t"
)