Documentation ¶
Index ¶
- func NewSqliteDB(dataSourceName string) (*sql.DB, error)
- type CreateFeedParams
- type DBTX
- type Feed
- type GetFeedRow
- type ListFeedsRow
- type Queries
- func (q *Queries) CreateFeed(ctx context.Context, arg CreateFeedParams) (Feed, error)
- func (q *Queries) DeleteFeed(ctx context.Context, title string) error
- func (q *Queries) GetFeed(ctx context.Context, title string) (GetFeedRow, error)
- func (q *Queries) ListFeeds(ctx context.Context) ([]ListFeedsRow, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateFeedParams ¶
type CreateFeedParams struct { Title string Description sql.NullString Link sql.NullString FeedLink sql.NullString Updated sql.NullTime }
type Feed ¶
type Feed struct { Title string Description sql.NullString Link sql.NullString FeedLink sql.NullString Updated sql.NullTime }
type GetFeedRow ¶
type GetFeedRow struct { Title string Description sql.NullString Updated sql.NullTime }
type ListFeedsRow ¶
type ListFeedsRow struct { Title string Description sql.NullString Updated sql.NullTime }
Click to show internal directories.
Click to hide internal directories.