Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoFilter represents an error when no filter are provided. ErrNoFilter = errors.New("no filters provided") // ErrNoEntitiesUpdated represent an error when no entities were updated in the database // after an Update operation. ErrNoEntitiesUpdated = errors.New("no entities were updated") // ErrNoEntitiesDeleted represent an error when no entities were deleted in the database // after a Delete operation. ErrNoEntitiesDeleted = errors.New("no entities were deleted") )
Functions ¶
func NewGormFilter ¶
NewGormFilter initializes a new filter with the given template and value to be used with gorm.
func NewRepository ¶
NewRepository initializes a new Repository implementation using gorm.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.