Documentation ¶
Index ¶
- type Cassette
- type DBTX
- type PostCassetteParams
- type PostSongParams
- type PostUserParams
- type Queries
- func (q *Queries) GetCassette(ctx context.Context, id pgtype.UUID) (Cassette, error)
- func (q *Queries) GetCassettesByUser(ctx context.Context, userID pgtype.UUID) ([]Cassette, error)
- func (q *Queries) GetUser(ctx context.Context, id pgtype.UUID) (User, error)
- func (q *Queries) PostCassette(ctx context.Context, arg PostCassetteParams) (Cassette, error)
- func (q *Queries) PostSong(ctx context.Context, arg PostSongParams) (Song, error)
- func (q *Queries) PostUser(ctx context.Context, arg PostUserParams) (User, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type Song
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cassette ¶
type Cassette struct { ID pgtype.UUID UserID pgtype.UUID Name string CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz }
type PostCassetteParams ¶
type PostSongParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetCassette ¶
func (*Queries) GetCassettesByUser ¶
func (*Queries) PostCassette ¶
type User ¶
type User struct { ID pgtype.UUID Name string IconUrl pgtype.Text CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz DeletedAt pgtype.Timestamptz }
Click to show internal directories.
Click to hide internal directories.