Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 538 Bytes

File metadata and controls

26 lines (17 loc) · 538 Bytes

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