🐝 reformat code
This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
Reference in New Issue
Block a user