Documentation ¶
Index ¶
- type CreateOrUpdateUserParams
- type CreatePostsParams
- type DBTX
- type GetPostDetailRow
- type ListPostsRow
- type Post
- type Queries
- func (q *Queries) CreateOrUpdateUser(ctx context.Context, arg CreateOrUpdateUserParams) (User, error)
- func (q *Queries) CreatePosts(ctx context.Context, arg CreatePostsParams) (Post, error)
- func (q *Queries) GetPostDetail(ctx context.Context, id int64) (GetPostDetailRow, error)
- func (q *Queries) ListPosts(ctx context.Context) ([]ListPostsRow, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatePostsParams ¶
type GetPostDetailRow ¶
type ListPostsRow ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateOrUpdateUser ¶
func (*Queries) CreatePosts ¶
func (*Queries) GetPostDetail ¶
Click to show internal directories.
Click to hide internal directories.