NYTimes/sqliface

Name: sqliface

Owner: The New York Times

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

Created: 2016-01-11 23:20:11.0

Updated: 2018-05-08 20:50:28.0

Pushed: 2018-03-10 19:52:29.0

Homepage:

Size: 17

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.