bug fix
This commit is contained in:
parent
26e60ab2d4
commit
ae467e40d9
2
main.go
2
main.go
|
@ -23,7 +23,7 @@ type CountLiveAnchors struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func getArgsStartTime() time.Time {
|
func getArgsStartTime() time.Time {
|
||||||
date := flag.Arg(0)
|
date := flag.Arg(1)
|
||||||
if date == "" {
|
if date == "" {
|
||||||
panic("please input date eg. '2020-11-30 16:29:17'")
|
panic("please input date eg. '2020-11-30 16:29:17'")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user