Documentation ¶
Index ¶
- func Lookup(product string, kind info.Kind) info.Queries
- func LookupDialect(product *database.Product) *info.Dialect
- func MatchLoadSession(dialect *info.Dialect) io.Session
- func MatchProduct(db *sql.DB) *database.Product
- func Products() map[string]*database.Product
- func Register(queries ...*info.Query) error
- func RegisterDialect(dialect *info.Dialect)
- func RegisterLoad(load io.SessionResolver, productName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LookupDialect ¶
LookupDialect lookups dialect
func MatchLoadSession ¶
MatchLoadSession returns Session for Dialect
func MatchProduct ¶
MatchProduct matches product with sql driver
func RegisterLoad ¶
func RegisterLoad(load io.SessionResolver, productName string)
RegisterLoad register session provider
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.