diff options
author | Tim Retout <tim@retout.co.uk> | 2016-03-24 15:58:39 +0000 |
---|---|---|
committer | Tim Retout <tim@retout.co.uk> | 2016-03-24 15:58:39 +0000 |
commit | 7b2244eaa4dd69583f99510c2657670afdf721ae (patch) | |
tree | 1b2a70cb9f1da0d26942686eec5c253e4125768e /doc.go | |
parent | Remove gocov (diff) | |
download | golite-7b2244eaa4dd69583f99510c2657670afdf721ae.tar.gz golite-7b2244eaa4dd69583f99510c2657670afdf721ae.tar.xz |
Fix sqlite "regexp" function name in documentation
Diffstat (limited to '')
-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) }, }) |