Documentation ¶
Index ¶
- func GetTimelineById(ctx context.Context, timelineId timelines.TimelineId) (*timelines.Timeline, error)
- func GetTimelinesByUserId(ctx context.Context, userId users.UserId) (timelines.Timelines, error)
- func NewTimeline(ctx context.Context, name timelines.TimelineName, userId users.UserId) (*timelines.Timeline, error)
- type TimelineModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTimelineById ¶
func GetTimelinesByUserId ¶
Types ¶
type TimelineModel ¶
type TimelineModel struct { Id timelines.TimelineId `bson:"_id"` Name timelines.TimelineName `bson:"name"` TermRecordIds []terms.TermRecordId `bson:"term_record_ids"` PlanIds []plans.PlanId `bson:"plan_ids"` UserId users.UserId `bson:"user_id"` }
func (TimelineModel) ToTimeline ¶
Click to show internal directories.
Click to hide internal directories.