Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(db bun.IDB) http.HandlerFunc
Handler moves the note to the trash and answers what it moved: DELETE /api/notes/{id}. @Summary Move a note to the trash @Tags notes @Produce json @Param id path string true "uuid" @Success 200 {array} domain.Item @Failure 404 {object} respond.Failure @Failure 500 {object} respond.Failure @Router /api/notes/{id} [delete]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.