Top 2.1% forks on proxy.golang.org
proxy.golang.org : gopkg.in/kisielk/sqlstruct.v0
Package sqlstruct provides some convenience functions for using structs with the Go standard library's database/sql package. The package matches struct field names to SQL query column names. A field can also specify a matching column with "sql" tag, if it's different from field name. Unexported fields or fields marked with `sql:"-"` are ignored, just like with "encoding/json" package. For example: Aliased tables in a SQL statement may be scanned into a specific structure identified by the same alias, using the ColumnsAliased and ScanAliased functions:
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/gopkg.in/kisielk/sqlstruct.v0
License: MIT
Latest release: almost 4 years ago
First release: almost 4 years ago
Namespace: gopkg.in/kisielk
Stars: 167 on GitHub
Forks: 52 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 28 days ago