An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 7.0% on proxy.golang.org
Top 4.6% dependent packages on proxy.golang.org

proxy.golang.org : github.com/nofeaturesonlybugs/sqlh

Package sqlh provides some simple utility for database/sql. Refer to examples under Scanner.Select for row scanning. Refer to subdirectory model for the model abstraction layer. sqlh and associated packages use reflect but nearly all of the heavy lifting is offloaded to set @ https://www.github.com/nofeaturesonlybugs/set Both sqlh.Scanner and model.Models use set.Mapper; the examples typically demonstrate instantiating a set.Mapper. If you design your Go destinations and models well then ideally your app will only need a single set.Mapper, a single sqlh.Scanner, and a single model.Models. Since all of these can be instantiated without a database connection you may wish to define them as globals and register models as part of an init() function. set.Mapper supports some additional flexibility not shown in the examples for this package; if your project has extra convoluted Go structs in your database layer you may want to consult the package documentation for package set.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/nofeaturesonlybugs/sqlh
Keywords: database , go , golang , postgresql , sql , sqlite3
License: MIT
Latest release: about 3 years ago
First release: over 4 years ago
Namespace: github.com/nofeaturesonlybugs
Dependent packages: 1
Stars: 32 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 6 days ago

Top 8.2% on proxy.golang.org
github.com/nofeaturesonlybugs/sqlhbenchmarks v0.0.0-20210604162551-bd732eeb2dd9
Package sqlhbenchmarks provides benchmarking code for sqlh.
1 version - Latest release: about 4 years ago - 2 stars on GitHub
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.