package
0.0.0-20241126070708-799c4e13a4d4
Repository: https://github.com/muhammadardie/echo-cms.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
Create About godoc @Summary Create an info for page about @Description Create an info for page about @ID create-abouts @Tags Abouts @Accept mpfd @Produce json @Security Bearer @Param image formData file true "Abouts image" @Param title formData string true "Abouts title" @Param desc formData string true "Abouts description" @Success 200 {object} Abouts @Failure 400 {object} utils.HttpError @Failure 401 {object} utils.HttpError @Router /abouts [post].
Delete Abouts godoc @Summary Delete an about info @Description Delete an about info @ID delete-about @Tags Abouts @Accept json @Produce json @Param id path string true "ID of the about" @Success 200 {object} Abouts @Failure 400 {object} utils.HttpError @Failure 401 {object} utils.HttpError @Router /abouts/{id} [delete].
Find Abouts godoc @Summary Find info abouts by ID @Description Find info abouts by ID @ID find-abouts @Tags Abouts @Accept json @Produce json @Security Bearer @Param id path string true "ID of the about to get" @Success 200 {object} utils.HttpSuccess{data=Abouts} @Failure 400 {object} utils.HttpError @Failure 401 {object} utils.HttpError @Router /abouts/{id} [get].
Get Abouts godoc @Summary Get recent info about @Description Get most recent info about @ID get-abouts @Tags Abouts @Accept json @Produce json @Security Bearer @Success 200 {object} utils.HttpSuccess{data=[]Abouts} @Failure 400 {object} utils.HttpError @Failure 401 {object} utils.HttpError @Router /abouts [get].
Update About godoc @Summary Update an info for page about @Description Update an info for page about @ID update-about @Tags Abouts @Accept mpfd @Produce json @Security Bearer @Param id path string true "ID of blog to get" @Param image formData file false "Abouts image" @Param title formData string false "Abouts title" @Param desc formData string false "Abouts description" @Success 200 {object} Abouts @Failure 400 {object} utils.HttpError @Failure 401 {object} utils.HttpError @Router /abouts/{id} [put].