This commit is contained in:
eson 2020-12-09 10:50:12 +08:00
parent 26e60ab2d4
commit ae467e40d9

View File

@ -23,7 +23,7 @@ type CountLiveAnchors struct {
}
func getArgsStartTime() time.Time {
date := flag.Arg(0)
date := flag.Arg(1)
if date == "" {
panic("please input date eg. '2020-11-30 16:29:17'")
}