ctborg / sqliface

handy interfaces and test implementations for Go's database/sql package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sqliface

GoDoc Build Status

sqliface is a package for the Go programming language that contains a set of interfaces and implementations that help make code utilizing database/sql more testable. This package has only been tested with a MySQL database. Pull Requests for utilizing other databases' custom types are appreciated (i.e. mysql.NullTime).

For documentation check out the GoDoc page.

Examples

Check out the examples directory for examples on how to use this package.

About

handy interfaces and test implementations for Go's database/sql package

License:Other


Languages

Language:Go 100.0%