Documentation ¶
Index ¶
- Constants
- func NewBeneficiariesRepository(db *gorm.DB) *beneficiariesRepositoryImpl
- func NewDeliveryCommentsRepository(db *gorm.DB) *deliveryCommentsRepositoryImpl
- func NewDeliveryPointRepository(db *gorm.DB) *deliveryPointsRepositoryImpl
- func NewRoutesRepository(db *gorm.DB) *routesRepositoryImpl
- func NewUsersRepository(db *gorm.DB) *usersRepositoryImpl
- type BeneficiariesRepository
- type DeliveryCommentsRepository
- type DeliveryPointsRepository
- type RoutesRepository
- type UsersRepository
Constants ¶
View Source
const ACTIVE = "active = ?"
Variables ¶
This section is empty.
Functions ¶
func NewRoutesRepository ¶
func NewUsersRepository ¶
Types ¶
type BeneficiariesRepository ¶
type BeneficiariesRepository interface { Save(*models.Beneficiary) (*models.Beneficiary, error) Delete(*models.Beneficiary) (*models.Beneficiary, error) FindAll(*[]models.Beneficiary) (*[]models.Beneficiary, error) FindByID(*models.Beneficiary) (*models.Beneficiary, error) }
type DeliveryCommentsRepository ¶
type DeliveryCommentsRepository interface { Save(*models.DeliveryComments) (*models.DeliveryComments, error) FindAll(*[]models.DeliveryComments) (*[]models.DeliveryComments, error) FindByID(*models.DeliveryComments) (*models.DeliveryComments, error) }
type DeliveryPointsRepository ¶
type DeliveryPointsRepository interface { Save(*models.DeliveryPoint) (*models.DeliveryPoint, error) Delete(*models.DeliveryPoint) (*models.DeliveryPoint, error) FindAll(*[]models.DeliveryPoint) (*[]models.DeliveryPoint, error) FindByID(*models.DeliveryPoint) (*models.DeliveryPoint, error) }
type RoutesRepository ¶
Click to show internal directories.
Click to hide internal directories.