Rewrite time module

This commit is contained in:
ofunc 2019-06-27 18:02:47 +08:00 committed by Alexander Medvednikov
parent 223c35ffb9
commit 2ee6ca1b8b
9 changed files with 344 additions and 348 deletions

View file

@ -53,6 +53,6 @@ fn main() {
go fetcher.fetch()
}
println(fetcher.ids)
time.sleep(5)
time.sleep(time.seconds(5))
}