diff options
author | mattn <mattn.jp@gmail.com> | 2016-03-25 01:18:33 +0900 |
---|---|---|
committer | mattn <mattn.jp@gmail.com> | 2016-03-25 01:18:33 +0900 |
commit | 37aa7c6f5bc95b7264de70cd1f0ca1d39228ebd6 (patch) | |
tree | 1b2a70cb9f1da0d26942686eec5c253e4125768e | |
parent | Remove gocov (diff) | |
parent | Fix sqlite "regexp" function name in documentation (diff) | |
download | golite-37aa7c6f5bc95b7264de70cd1f0ca1d39228ebd6.tar.gz golite-37aa7c6f5bc95b7264de70cd1f0ca1d39228ebd6.tar.xz |
Merge pull request #291 from diocles/patch-1
Fix sqlite "regexp" function name in documentation
-rw-r--r-- | doc.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -102,7 +102,7 @@ call RegisterFunction from ConnectHook. sql.Register("sqlite3_with_go_func", &sqlite3.SQLiteDriver{ ConnectHook: func(conn *sqlite3.SQLiteConn) error { - return conn.RegisterFunc("regex", regex, true) + return conn.RegisterFunc("regexp", regex, true) }, }) |