Documentation
¶
Index ¶
- type Album
- type Artist
- type CreateAlbumParams
- type CreateArtistParams
- type CreatePersonParams
- type CreateSongParams
- type DBTX
- type Person
- type Queries
- func (q *Queries) CreateAlbum(ctx context.Context, arg CreateAlbumParams) (int64, error)
- func (q *Queries) CreateArtist(ctx context.Context, arg CreateArtistParams) (int64, error)
- func (q *Queries) CreatePerson(ctx context.Context, arg CreatePersonParams) error
- func (q *Queries) CreateSong(ctx context.Context, arg CreateSongParams) error
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type Song
- type Test
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateAlbumParams ¶
type CreateArtistParams ¶
type CreateArtistParams struct { Name string Image sql.NullString }
type CreatePersonParams ¶
type CreateSongParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateAlbum ¶
func (*Queries) CreateArtist ¶
func (*Queries) CreatePerson ¶
func (q *Queries) CreatePerson(ctx context.Context, arg CreatePersonParams) error
func (*Queries) CreateSong ¶
func (q *Queries) CreateSong(ctx context.Context, arg CreateSongParams) error
type Test ¶
type Test struct { ID int64 Uuid uuid.NullUUID Varchar sql.NullString Text sql.NullString Int sql.NullInt32 Bigint sql.NullInt64 Float sql.NullFloat64 Double sql.NullFloat64 Decimal pgtype.Numeric Boolean sql.NullBool Inet pgtype.Inet Macaddr pgtype.Macaddr Json pgtype.JSON Jsonb pgtype.JSONB Xml interface{} Date sql.NullTime Time sql.NullTime Timez sql.NullTime Timestamp sql.NullTime Timestampz sql.NullTime }
Click to show internal directories.
Click to hide internal directories.