Merge pull request #7 from mK33y/patch-1

Update main.go
This commit is contained in:
Yami Odymel 2022-09-05 06:02:04 +08:00 committed by GitHub
commit 60a35415e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -283,7 +283,6 @@ func endpoint(c *cli.Context) error {
log.Printf("%s is not online, check again after %d minute(s)...", c.String("username"), c.Int("interval")) log.Printf("%s is not online, check again after %d minute(s)...", c.String("username"), c.Int("interval"))
<-time.After(time.Minute * time.Duration(c.Int("interval"))) <-time.After(time.Minute * time.Duration(c.Int("interval")))
} }
return nil
} }
func main() { func main() {