-
Notifications
You must be signed in to change notification settings - Fork 68
/
doc.go
18 lines (14 loc) · 835 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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 standard `database/sql` library,
so any database with `database/sql` driver is supported.
It also works with https://github.com/jackc/pgx - specific library for PostgreSQL.
Apart from the out of the box support, scany can be easily extended to work with any database library.
It contains the following packages:
sqlscan package works with database/sql standard library.
pgxscan package works with github.com/jackc/pgx/v4 library.
dbscan package works with an abstract database and can be integrated with any library.
This particular package implements core scany features and contains all the logic.
Both sqlscan and pgxscan use dbscan internally.
*/
package scany