mirror of
https://github.com/nalgeon/redka.git
synced 2025-09-26 20:11:14 +08:00
538 B
538 B
Installing Redka as a Go module
Install the module as follows:
go get github.com/nalgeon/redka
You'll also need an SQLite or PostgreSQL driver.
Use one of the following for SQLite:
github.com/mattn/go-sqlite3
(CGO, fastest)github.com/ncruces/go-sqlite3
(pure Go, WASM)modernc.org/sqlite
(pure Go, libc port)
Or one of the following for PostgreSQL:
github.com/lib/pq
github.com/jackc/pgx/v5
Install a driver with go get
like this:
go get github.com/ncruces/go-sqlite3