Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLReader ¶
type SQLReader interface {
// Get gets data. Returned data expected to be one data only. Dest must be pointer to val/struct
Get(ctx context.Context, query string, args []any, dest any) (err error)
// Find finds data. Returned data can be more than one data. Dest must be pointer to slice
Find(ctx context.Context, query string, args []any, dest any) (err error)
}
type SQLReaderImpl ¶
type SQLReaderImpl struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.