using go-sqlmock with sqlite

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • SaaSHub - Software Alternatives and Reviews
  • sqlite

    The pure-Go SQLite driver for GORM (by glebarez)

    RTFM ``` import ( "" // Sqlite driver based on GGO // "" // Pure go SQLite driver, checkout for details "" )

  • GORM

    The fantastic ORM library for Golang, aims to be developer friendly

    Sigh... If you're using gorm V2, you need to pass a dialector to gorm.Open as the first parameter. See the V2 example here:

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts