Documentation ¶
Index ¶
- func Create(c *fiber.Ctx) error
- func Delete(c *fiber.Ctx) error
- func Get(c *fiber.Ctx) error
- func GetPostList(c *fiber.Ctx) error
- func GetReplies(c *fiber.Ctx) error
- func GetTotalForPost(c *fiber.Ctx) error
- func Update(c *fiber.Ctx) error
- type CreateRequest
- type GetListResponse
- type GetResponse
- type GetTotal
- type UpdateRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPostList ¶
func GetPostList(c *fiber.Ctx) error
func GetReplies ¶
func GetReplies(c *fiber.Ctx) error
func GetTotalForPost ¶
func GetTotalForPost(c *fiber.Ctx) error
Types ¶
type CreateRequest ¶
type GetListResponse ¶
type GetListResponse struct { comment.ListComments Users user.ListUsers `json:"users"` Order map[int64]int64 `json:"order"` }
GetListResponse posts comments
type GetResponse ¶
type UpdateRequest ¶
type UpdateRequest struct {
Content string `json:"content" form:"content"`
}
Click to show internal directories.
Click to hide internal directories.