deletenote

package
v0.0.0-...-4d14c86 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2026 License: MIT Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址