797 B
797 B
lite
lite is a basic sqlite wrapper to provide basic configuration for use in Go apps
Dependencies
lite uses some established SQL libraries to provide easy sqlite connections
Sqlite Driver
ncruces is used to provide a compatible sqlite driver without cgo
SQL Library
sqlx is used to provide extensions on Go's standard SQL library
Defaults
lite is intended to be as simple as possible and provide the basic SQL functionality in less code, to do this lite has some default values.
Filename
the database filename will default to "lite-db" unless changed with the WithName option
Path
the database file path will default to the home directory unless changed with the WithPath option