Documentation
¶
Index ¶
- type BaseRepo
- type Car
- type Setup
- func (s *Setup) Create(ctx context.Context, setup *models.Setup, opts ...postgresdb.ExecOption) error
- func (s *Setup) GetList(ctx context.Context, userID uuid.UUID, opts ...postgresdb.ExecOption) (models.SetupList, error)
- func (s *Setup) IncrementDownload(ctx context.Context, id uuid.UUID, opts ...postgresdb.ExecOption) error
- func (s *Setup) RecordVote(ctx context.Context, setupID, userID uuid.UUID, upvote bool, ...) error
- func (s *Setup) Update(ctx context.Context, setup *models.Setup, opts ...postgresdb.ExecOption) (int64, error)
- func (s *Setup) WithFilters(filters map[string]interface{}) *Setup
- type Track
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Setup ¶
type Setup struct { BaseRepo // contains filtered or unexported fields }
func (*Setup) Create ¶
func (s *Setup) Create(ctx context.Context, setup *models.Setup, opts ...postgresdb.ExecOption) error
func (*Setup) GetList ¶
func (s *Setup) GetList( ctx context.Context, userID uuid.UUID, opts ...postgresdb.ExecOption, ) (models.SetupList, error)
func (*Setup) IncrementDownload ¶
func (s *Setup) IncrementDownload(ctx context.Context, id uuid.UUID, opts ...postgresdb.ExecOption) error
func (*Setup) RecordVote ¶
func (s *Setup) RecordVote( ctx context.Context, setupID, userID uuid.UUID, upvote bool, opts ...postgresdb.ExecOption, ) error
func (*Setup) Update ¶
func (s *Setup) Update( ctx context.Context, setup *models.Setup, opts ...postgresdb.ExecOption, ) (int64, error)
func (*Setup) WithFilters ¶
Click to show internal directories.
Click to hide internal directories.