You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
all: rename package to github.com/charlievieth/go-sqlite3
This project is a hard'ish fork of github.com/mattn/go-sqlite3 that will
not always be compatible with the original. Therefore I'm renaming it to
avoid confusion.
Regarding incompatibilities, the first is that mattn/go-sqlite3 allows
for the SQL passed to Query to contain multiple statements, but will
only execute the last one - this package will return an error if
Query is passed multiple SQL statements. The second incompatibility
is that this library will eventually remove the rarely used
RegisterAggregator since it uses reflect.MethodByName which disables
dead code removal. The goal is to keep the number of incompatibilities
to minimum, unless justified by correctness or performance reasons.
The overall goal of this package is to be more correct and performant
than mattn/go-sqlite3 while not being constrained by backwards
compatibility (apart from removing RegisterAggregator this package
should only introduce breaking changes to code that is already
incorrect).
[](https://opencollective.com/mattn-go-sqlite3)
@@ -66,17 +66,17 @@ This package follows the official [Golang Release Policy](https://golang.org/doc
66
66
67
67
This package can be installed with the `go get` command:
68
68
69
-
go get github.com/mattn/go-sqlite3
69
+
go get github.com/charlievieth/go-sqlite3
70
70
71
71
_go-sqlite3_ is *cgo* package.
72
72
If you want to build your app using go-sqlite3, you need gcc.
73
-
However, after you have built and installed _go-sqlite3_ with `go install github.com/mattn/go-sqlite3` (which requires gcc), you can build your app without relying on gcc in future.
73
+
However, after you have built and installed _go-sqlite3_ with `go install github.com/charlievieth/go-sqlite3` (which requires gcc), you can build your app without relying on gcc in future.
74
74
75
75
***Important: because this is a `CGO` enabled package, you are required to set the environment variable `CGO_ENABLED=1` and have a `gcc` compiler present within your path.***
76
76
77
77
# API Reference
78
78
79
-
API documentation can be found [here](http://godoc.org/github.com/mattn/go-sqlite3).
79
+
API documentation can be found [here](http://godoc.org/github.com/charlievieth/go-sqlite3).
80
80
81
81
Examples can be found under the [examples](./_example) directory.
| Secure Delete (FAST) | sqlite_secure_delete_fast | For more information see [PRAGMA secure_delete](https://www.sqlite.org/pragma.html#pragma_secure_delete)|
| User Authentication | sqlite_userauth | SQLite User Authentication see [User Authentication](#user-authentication) for more information. |
183
-
| Virtual Tables | sqlite_vtable | SQLite Virtual Tables see [SQLite Official VTABLE Documentation](https://www.sqlite.org/vtab.html) for more information, and a [full example here](https://github.com/mattn/go-sqlite3/tree/master/_example/vtable)|
183
+
| Virtual Tables | sqlite_vtable | SQLite Virtual Tables see [SQLite Official VTABLE Documentation](https://www.sqlite.org/vtab.html) for more information, and a [full example here](https://github.com/charlievieth/go-sqlite3/tree/master/_example/vtable)|
184
184
185
185
# Compilation
186
186
@@ -344,14 +344,14 @@ For example the TDM-GCC Toolchain can be found [here](https://jmeubank.github.io
344
344
> Probably, you are using go 1.0, go1.0 has a problem when it comes to compiling/linking on windows 64bit.
Support this project with your organization. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/mattn-go-sqlite3/contribute)]
0 commit comments