sqlite3 driver conforming to the built-in database/sql interface. This package can be installed with the go-get command. go-sqlite3 is cgo package. If you want to build your app using go-sqlite3, you need gcc. 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 the future. Because this is a CGO enabled package you are required to set the environment variable CGO_ENABLED=1 and have a gcc compile present within your path. When creating a new SQLite database or connection to an existing one, with the file name additional options can be given. This is also known as a DSN string. (Data Source Name). Options are appended after the filename of the SQLite database. This library supports dsn options of SQLite itself and provides additional options.

Features

  • This package can be compiled for android
  • This library can be cross-compiled
  • The simplest way to cross compile from OSX is to use xgo
  • This package supports the SQLite User Authentication module
  • Operations on the database regarding to user management can only be preformed by an administrator user
  • The user authentication supports two kinds of users, administrators, and regular users

Project Samples

Project Activity

See All Activity >

Categories

Database

License

MIT License

Follow go-sqlite3

go-sqlite3 Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of go-sqlite3!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

C

Related Categories

C Database Software

Registered

2021-10-15