Versions in this module Expand all Collapse all v0 v0.1.1 Apr 12, 2024 v0.1.0 Apr 12, 2024 Changes in this version + type BlogController struct + func NewBlogController(msr *mr.MongoDbRepository[*section.SoftwareSection], ...) *BlogController + func (bc *BlogController) CreateBlogPost(c *gin.Context) + func (bc *BlogController) GetBlogPost(c *gin.Context) + func (bc *BlogController) GetBlogPostList(c *gin.Context) + func (bc *BlogController) RemoveBlogPost(c *gin.Context) + func (bc *BlogController) UpdateBlogPost(c *gin.Context) + type BlogPost struct + Content string + ID uint + Id primitive.ObjectID + IsDraft bool + IsFeatured bool + Title string + type BlogPostPublicResponse struct + Content string + MongoDbId string + MysqlId uint + PostgresId uint + Title string + type BlogPostResponse struct + Content string + IsDraft bool + IsFeatured bool + MongoDbId string + MysqlId uint + PostgresId uint + Title string + type CreateBlogPostRequest struct + Content string + IsDraft bool + IsFeatured bool + Title string + type GetBlogPostListRequest struct + Content string + IsDraft bool + IsFeatured bool + MongoDbId string + MysqlId uint + PostgresId uint + type GetBlogPostRequest struct + Content string + IsDraft bool + IsFeatured bool + MongoDbId string + MysqlId uint + PostgresId uint + type IBlogController interface + CreateBlogPost func(c *gin.Context) + GetBlogPost func(c *gin.Context) + GetBlogPostList func(c *gin.Context) + RemoveBlogPost func(c *gin.Context) + UpdateBlogPost func(c *gin.Context) + type RemoveBlogPostRequest struct + MongoDbId string + MysqlId uint + PostgresId uint + type UpdateBlogPostRequest struct + Content string + IsDraft bool + IsFeatured bool + MongoDbId string + MysqlId uint + PostgresId uint + Title string