forked from mirror/go-sqlite3
c90898da72
Closes #597 Closes #598 * All documentation in Wiki * Update Examples * Fix EOL * Fix CI |
||
---|---|---|
.. | ||
Makefile | ||
README.md | ||
extension | ||
extension.go | ||
picojson.h | ||
sqlite3_mod_vtable.cc | ||
sqlite3_mod_vtable.so |
README.md
How to compile
cd ${GOPATH}/src/github.com/mattn/go-sqlite3/examples/mod_vtable
make all
How to run
The OS has to be able to find the compiled extension. In normal cases this library (.so) should be added to the LD_LIBRARY_PATH.
Run run from current compiled directory.
LD_LIBRARY_PATH=$(pwd) ./extension