feat: add aliyundrive driver

This commit is contained in:
Noah Hsu
2022-08-31 20:46:19 +08:00
parent 102384e170
commit 817d63597e
9 changed files with 579 additions and 0 deletions

15
pkg/cron/cron_test.go Normal file
View File

@ -0,0 +1,15 @@
package cron
import (
"testing"
"time"
)
func TestCron(t *testing.T) {
c := NewCron(time.Second)
c.Do(func() {
t.Logf("cron log")
})
time.Sleep(time.Second * 5)
c.Stop()
}