Documentation ¶
Index ¶
- type CreateFeedFollowParams
- type CreateFeedParams
- type CreatePostParams
- type CreateUserParams
- type DBTX
- type DeleteFeedFollowParams
- type Feed
- type FeedFollow
- type GetPostsForUserParams
- type Post
- type Queries
- func (q *Queries) CreateFeed(ctx context.Context, arg CreateFeedParams) (Feed, error)
- func (q *Queries) CreateFeedFollow(ctx context.Context, arg CreateFeedFollowParams) (FeedFollow, error)
- func (q *Queries) CreatePost(ctx context.Context, arg CreatePostParams) (Post, error)
- func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) (User, error)
- func (q *Queries) DeleteFeedFollow(ctx context.Context, arg DeleteFeedFollowParams) error
- func (q *Queries) GetFeedFollows(ctx context.Context, userID uuid.UUID) ([]FeedFollow, error)
- func (q *Queries) GetFeeds(ctx context.Context) ([]Feed, error)
- func (q *Queries) GetNextFeedToFetch(ctx context.Context, limit int32) ([]Feed, error)
- func (q *Queries) GetPostsForUser(ctx context.Context, arg GetPostsForUserParams) ([]Post, error)
- func (q *Queries) GetUserByAPIKey(ctx context.Context, apiKey string) (User, error)
- func (q *Queries) GetUserByEmail(ctx context.Context, email string) (User, error)
- func (q *Queries) MarkFeedAsFetched(ctx context.Context, id uuid.UUID) (Feed, error)
- func (q *Queries) UpdateOAuthID(ctx context.Context, arg UpdateOAuthIDParams) (User, error)
- func (q *Queries) UpdateUserPassword(ctx context.Context, arg UpdateUserPasswordParams) (User, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type UpdateOAuthIDParams
- type UpdateUserPasswordParams
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateFeedFollowParams ¶
type CreateFeedParams ¶
type CreatePostParams ¶
type CreateUserParams ¶
type FeedFollow ¶
type GetPostsForUserParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateFeed ¶
func (*Queries) CreateFeedFollow ¶
func (q *Queries) CreateFeedFollow(ctx context.Context, arg CreateFeedFollowParams) (FeedFollow, error)
func (*Queries) CreatePost ¶
func (*Queries) CreateUser ¶
func (*Queries) DeleteFeedFollow ¶
func (q *Queries) DeleteFeedFollow(ctx context.Context, arg DeleteFeedFollowParams) error
func (*Queries) GetFeedFollows ¶
func (*Queries) GetNextFeedToFetch ¶
func (*Queries) GetPostsForUser ¶
func (*Queries) GetUserByAPIKey ¶
func (*Queries) GetUserByEmail ¶
func (*Queries) MarkFeedAsFetched ¶
func (*Queries) UpdateOAuthID ¶
func (*Queries) UpdateUserPassword ¶
type UpdateOAuthIDParams ¶
type UpdateOAuthIDParams struct { OauthProvider sql.NullString OauthID sql.NullString Email string }
Click to show internal directories.
Click to hide internal directories.