Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Item ¶
type Item struct {
*Repository
}
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(db *gorm.DB) *Repository
func (*Repository) BeginTransaction ¶
func (r *Repository) BeginTransaction() (repository.Store, error)
func (*Repository) Commit ¶
func (r *Repository) Commit() error
func (*Repository) Items ¶
func (r *Repository) Items() repository.Item
func (*Repository) Rollback ¶
func (r *Repository) Rollback() error
func (*Repository) Users ¶
func (r *Repository) Users() repository.User
Click to show internal directories.
Click to hide internal directories.