Skip to content

Commit

Permalink
update fate
Browse files Browse the repository at this point in the history
  • Loading branch information
godcong committed Mar 31, 2020
1 parent 8769efe commit cc89f53
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions example/update_regular/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package main

import (
"github.com/godcong/fate"
"github.com/godcong/fate/config"
"github.com/godcong/fate/regular"
)

func main() {
c := config.LoadConfig()
db := fate.InitDatabaseWithConfig(*c)
r := regular.New(db)
r.Run()
}

0 comments on commit cc89f53

Please sign in to comment.