Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultRepository ¶
type DefaultRepository struct {
// contains filtered or unexported fields
}
func NewDefaultRepository ¶
func NewDefaultRepository(queries *persistence.Queries) *DefaultRepository
type DistributedRepository ¶
type DistributedRepository struct {
// contains filtered or unexported fields
}
func NewDistributedRepository ¶
func NewDistributedRepository(queries *persistence.Queries, rs *redsync.Redsync) *DistributedRepository
type OptimisticRepository ¶
type OptimisticRepository struct {
// contains filtered or unexported fields
}
func NewOptimisticRepository ¶
func NewOptimisticRepository(queries *persistence.Queries) *OptimisticRepository
type PessimisticRepository ¶
type PessimisticRepository struct {
// contains filtered or unexported fields
}
func NewPessimisticRepository ¶
func NewPessimisticRepository(db *sql.DB, queries *persistence.Queries) *PessimisticRepository
type Repository ¶
type ZeroRowsAffectedError ¶
type ZeroRowsAffectedError struct{}
func (*ZeroRowsAffectedError) Error ¶
func (z *ZeroRowsAffectedError) Error() string
Click to show internal directories.
Click to hide internal directories.