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 GetPostEntityFromPostModel(userId uint, post *model.Post) *entity.Post
- func GetPostEntityFromReplyModel(userId uint, reply *model.Reply, postId uint) *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 GetNotificationModelFromEntity ¶
func GetNotificationModelFromEntity(notification *entity.Notification) *model.Notification
func GetNotificationModelsFromEntities ¶
func GetNotificationModelsFromEntities(notificationEntities []*entity.Notification) []*model.Notification
func GetPostEntityFromPostModel ¶ added in v0.1.3
func GetPostEntityFromReplyModel ¶ added in v0.1.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.