Categorygithub.com/lpar/schemata
repositorypackage
0.2.0
Repository: https://github.com/lpar/schemata.git
Documentation: pkg.go.dev

# README

Schemata

GoDoc

Helper methods for creating test schemas in PostgreSQL databases, with copies of tables from the live schema. Thread-safe, so you can call them from unit tests. Uses pgx because pq is sadly in maintenance-only mode.

Needs unit tests (hint hint) but is very short, under a hundred lines.