Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo interface {
GetGroupsFor(block models.Block) (og []*models.OperationGroup, err error)
}
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
Repository is the operation groups repo implementation.
func New ¶
func New(db *gorm.DB) *Repository
New creates an instance of repository using the provided db.
func (*Repository) GetGroupsFor ¶
func (r *Repository) GetGroupsFor(block models.Block) (og []*models.OperationGroup, err error)
Last returns the last added block.
Directories ¶
Path | Synopsis |
---|---|
Package mock_operation_groups is a generated GoMock package.
|
Package mock_operation_groups is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.