intial state

This commit is contained in:
2022-04-26 09:55:59 -04:00
commit a2085625aa
8 changed files with 263 additions and 0 deletions

20
exp/cron/cron.go Normal file
View File

@ -0,0 +1,20 @@
package main
import (
"fmt"
"log"
"time"
"github.com/robfig/cron/v3"
)
func main() {
fmt.Println("vim-go")
s, err := cron.ParseStandard("@daily")
if err != nil {
log.Fatal(err)
}
fmt.Println(s.Next(time.Now()))
}