Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateComment ¶
func CreateComment(c *fiber.Ctx) error
func DeleteComment ¶
func DeleteComment(c *fiber.Ctx) error
func GetComment ¶
func GetComment(c *fiber.Ctx) error
func UpdateComment ¶
func UpdateComment(c *fiber.Ctx) error
Types ¶
type NewCommentBody ¶
type NewCommentBody struct {
Content string `json:"content" validate:"required,min=1,max=500"`
}
type UpdateCommentBody ¶
Click to show internal directories.
Click to hide internal directories.