Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
LyricTian committed Apr 27, 2018
1 parent 8c0f69a commit 73cdc4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import "github.com/LyricTian/logrus-mysql-hook"
// ...

mysqlHook := mysqlhook.New(
mysqlhook.SetExec(mysqlhook.NewExec(db, "log")),
mysqlhook.SetExec(mysqlhook.NewExec(db, "log")),
)

defer mysqlHook.Flush()
Expand Down

0 comments on commit 73cdc4b

Please sign in to comment.