Documentation ¶
Index ¶
- func New(cfg *config.Config, logger *zap.Logger) (*bun.DB, error)
- func NewContactListRepository(db *bun.DB) malak.ContactListRepository
- func NewContactRepository(inner *bun.DB) malak.ContactRepository
- func NewDeckRepository(db *bun.DB) malak.DeckRepository
- func NewIntegrationRepo(db *bun.DB) malak.IntegrationRepository
- func NewPlanRepository(db *bun.DB) *planRepo
- func NewPreferenceRepository(inner *bun.DB) malak.PreferenceRepository
- func NewShareRepository(inner *bun.DB) malak.ContactShareRepository
- func NewUpdatesRepository(db *bun.DB) malak.UpdateRepository
- func NewUserRepository(db *bun.DB) malak.UserRepository
- func NewWorkspaceRepository(inner *bun.DB) malak.WorkspaceRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContactListRepository ¶
func NewContactListRepository(db *bun.DB) malak.ContactListRepository
func NewContactRepository ¶
func NewContactRepository(inner *bun.DB) malak.ContactRepository
func NewDeckRepository ¶
func NewDeckRepository(db *bun.DB) malak.DeckRepository
func NewIntegrationRepo ¶ added in v0.3.1
func NewIntegrationRepo(db *bun.DB) malak.IntegrationRepository
func NewPlanRepository ¶
func NewPreferenceRepository ¶ added in v0.3.1
func NewPreferenceRepository(inner *bun.DB) malak.PreferenceRepository
func NewShareRepository ¶ added in v0.3.0
func NewShareRepository(inner *bun.DB) malak.ContactShareRepository
func NewUpdatesRepository ¶
func NewUpdatesRepository(db *bun.DB) malak.UpdateRepository
func NewUserRepository ¶
func NewUserRepository(db *bun.DB) malak.UserRepository
func NewWorkspaceRepository ¶
func NewWorkspaceRepository(inner *bun.DB) malak.WorkspaceRepository
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.