Documentation ¶
Index ¶
- func NewChurchEventRepository(ctx context.Context, db *mongo.Database) repositories.ChurchEventRepository
- func NewChurchEventSessionRepository(ctx context.Context, db mongo.Database) repositories.ChurchEventSessionRepository
- func NewCommandContext(ctx context.Context, mongo *mongo.Database) commands.CommandContext
- func NewEventCheckInRepository(ctx context.Context, db *mongo.Database) repositories.EventCheckInRepository
- func NewPersonRepository(ctx context.Context, db *mongo.Database) repositories.PersonRepository
- func NewQueryContext(ctx context.Context, db *mongo.Database) queries.QueryContext
- func NewQueryWorker(mongoDatabase *mongo.Database, useTransaction bool) worker.QueryWorker[queries.QueryContext]
- func NewUnitOfWork(mongoDatabase *mongo.Database, useTransaction bool) worker.UnitOfWork[commands.CommandContext]
- func SearchEvent(ctx context.Context, db *mongo.Database) queries.SearchEvent
- type AgeFilter
- type ChurchEvent
- type ChurchEventSession
- type EventCheckInModel
- type GenderFilter
- type Location
- type Person
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewChurchEventRepository ¶
func NewChurchEventRepository(ctx context.Context, db *mongo.Database) repositories.ChurchEventRepository
func NewChurchEventSessionRepository ¶
func NewChurchEventSessionRepository(ctx context.Context, db mongo.Database) repositories.ChurchEventSessionRepository
func NewCommandContext ¶
func NewEventCheckInRepository ¶
func NewEventCheckInRepository(ctx context.Context, db *mongo.Database) repositories.EventCheckInRepository
func NewPersonRepository ¶
func NewPersonRepository(ctx context.Context, db *mongo.Database) repositories.PersonRepository
func NewQueryContext ¶
func NewQueryWorker ¶
func NewQueryWorker(mongoDatabase *mongo.Database, useTransaction bool) worker.QueryWorker[queries.QueryContext]
func NewUnitOfWork ¶
func NewUnitOfWork(mongoDatabase *mongo.Database, useTransaction bool) worker.UnitOfWork[commands.CommandContext]
func SearchEvent ¶
Types ¶
type ChurchEvent ¶
type ChurchEvent struct { ID string `bson:"_id"` Name string `bson:"name"` Locations []Location `bson:"locations"` EventFrequency string `bson:"event_frequency"` LatestSessionStartTime time.Time `bson:"latest_session_start_time"` LatestShowAt time.Time `bson:"latest_show_at"` LatestHideAt time.Time `bson:"latest_hide_at"` LatestSessionNo int `bson:"latest_session_no"` }
type ChurchEventSession ¶
type EventCheckInModel ¶
type GenderFilter ¶
type GenderFilter string
Click to show internal directories.
Click to hide internal directories.