Documentation ¶
Index ¶
- func Register(ctx context.Context, conn RegisterConn) error
- type DBQuerier
- func (q *DBQuerier) GenSeries(ctx context.Context) ([]*int, error)
- func (q *DBQuerier) GenSeries1(ctx context.Context) (*int, error)
- func (q *DBQuerier) GenSeriesArr(ctx context.Context) ([][]int, error)
- func (q *DBQuerier) GenSeriesArr1(ctx context.Context) ([]int, error)
- func (q *DBQuerier) GenSeriesStr(ctx context.Context) ([]*string, error)
- func (q *DBQuerier) GenSeriesStr1(ctx context.Context) (*string, error)
- type Querier
- type RegisterConn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DBQuerier ¶
type DBQuerier struct {
// contains filtered or unexported fields
}
func NewQuerier ¶
NewQuerier creates a DBQuerier that implements Querier.
func (*DBQuerier) GenSeries1 ¶
GenSeries1 implements Querier.GenSeries1.
func (*DBQuerier) GenSeriesArr ¶
GenSeriesArr implements Querier.GenSeriesArr.
func (*DBQuerier) GenSeriesArr1 ¶
GenSeriesArr1 implements Querier.GenSeriesArr1.
func (*DBQuerier) GenSeriesStr ¶
GenSeriesStr implements Querier.GenSeriesStr.
type Querier ¶
type Querier interface { GenSeries1(ctx context.Context) (*int, error) GenSeries(ctx context.Context) ([]*int, error) GenSeriesArr1(ctx context.Context) ([]int, error) GenSeriesArr(ctx context.Context) ([][]int, error) GenSeriesStr1(ctx context.Context) (*string, error) GenSeriesStr(ctx context.Context) ([]*string, error) }
Querier is a typesafe Go interface backed by SQL queries.
Click to show internal directories.
Click to hide internal directories.