您最多能選擇 25 個主題
主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
23 行
361 B
23 行
361 B
package common
|
|
|
|
import (
|
|
"github.com/Albert-Zhan/httpc"
|
|
"github.com/unknwon/goconfig"
|
|
)
|
|
|
|
const (
|
|
SoftName = "jd_seckill"
|
|
Version = "0.2.1"
|
|
DateTimeFormatStr = "2006-01-02 15:04:05"
|
|
DateFormatStr = "2006-01-02"
|
|
)
|
|
|
|
var (
|
|
Client *httpc.HttpClient
|
|
|
|
CookieJar *httpc.CookieJar
|
|
|
|
Config *goconfig.ConfigFile
|
|
|
|
SeckillStatus chan bool
|
|
)
|
|
|