Documentation ¶
Index ¶
- func GetFollowEntityFromModel(userId uint, followingId uint, follow *model.Follow) *entity.Follow
- func GetNotificationModelFromEntity(notification *entity.Notification) *model.Notification
- func GetNotificationModelsFromEntities(notificationEntities []*entity.Notification) []*model.Notification
- func GetPostEntityFromModel(userId uint, post *model.Post) *entity.Post
- func GetUserEntityFromModel(user *model.User) *entity.User
- func GetUserModelFromEntity(user *entity.User) *model.User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFollowEntityFromModel ¶ added in v0.1.21
func GetNotificationModelFromEntity ¶
func GetNotificationModelFromEntity(notification *entity.Notification) *model.Notification
func GetNotificationModelsFromEntities ¶
func GetNotificationModelsFromEntities(notificationEntities []*entity.Notification) []*model.Notification
func GetPostEntityFromModel ¶ added in v0.1.18
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.