Versions in this module Expand all Collapse all v0 v0.1.2 Sep 8, 2022 Changes in this version + type DBTX interface + ExecContext func(context.Context, string, ...interface{}) (sql.Result, error) + PrepareContext func(context.Context, string) (*sql.Stmt, error) + QueryContext func(context.Context, string, ...interface{}) (*sql.Rows, error) + QueryRowContext func(context.Context, string, ...interface{}) *sql.Row + type InsertMarketParams struct + BaseAsset string + ProviderName string + QuoteAsset string + Url string + type Market struct + BaseAsset string + MarketID sql.NullInt32 + ProviderName string + QuoteAsset string + Url string + type Queries struct + func New(db DBTX) *Queries + func (q *Queries) GetAllMarkets(ctx context.Context) ([]Market, error) + func (q *Queries) InsertMarket(ctx context.Context, arg InsertMarketParams) (Market, error) + func (q *Queries) WithTx(tx *sql.Tx) *Queries