Documentation ¶
Index ¶
- func Module() fx.Option
- type Event
- func (r *Event) CreateEvent(ctx context.Context, event *model.Event) error
- func (r *Event) GetEvent(ctx context.Context, eventID string) (*model.Event, error)
- func (r *Event) GetEvents(ctx context.Context) ([]*model.Event, error)
- func (r *Event) GetEventsByResearchID(ctx context.Context, researchID string) ([]*model.Event, error)
- func (r *Event) GetPaginatedEventsByResearchID(ctx context.Context, researchID string, first int, after string) ([]*model.Event, error)
- type Research
- type User
- func (r *User) CreateUser(ctx context.Context, user *model.User) error
- func (r *User) GetUserByEmail(ctx context.Context, email string) (*model.User, error)
- func (r *User) GetUserByID(ctx context.Context, id string) (*model.User, error)
- func (r *User) GetUsers(ctx context.Context) ([]*model.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
func (*Event) CreateEvent ¶
func (*Event) GetEventsByResearchID ¶
type Research ¶
func (*Research) GetAllResearch ¶
Click to show internal directories.
Click to hide internal directories.