proxy.golang.org : github.com/georgysavva/scany : v0.2.0
Package scany is a set of packages for scanning data from a database into Go structs and more. scany isn't limited to any specific database. It integrates with database/sql, so any database with database/sql driver is supported. It also works with https://github.com/jackc/pgx native interface. Apart from the out of the box support, scany can be easily extended to work with almost any database library. scany contains the following packages: sqlscan package works with database/sql standard library. pgxscan package works with github.com/jackc/pgx library native interface. dbscan package works with an abstract database and can be integrated with any library that has a concept of rows. This particular package implements core scany features and contains all the logic. Both sqlscan and pgxscan use dbscan internally.
Registry -
Documentation -
Download -
JSON -
codemeta.json
purl: pkg:golang/github.com/georgysavva/scany@v0.2.0
Published:
Indexed:
Related tag:
v0.2.0
- github.com/cockroachdb/cockroach-go/v2 v2.0.2
- github.com/jackc/pgtype v1.3.1-0.20200612023650-09efc3839047
- github.com/jackc/pgx/v4 v4.6.1-0.20200606145419-4e5062306904
- github.com/pkg/errors v0.9.1
- github.com/stretchr/testify v1.5.1