handlers

package
v0.0.0-...-d53a320 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNote

func CreateNote(context *gin.Context)

func DeleteNote

func DeleteNote(context *gin.Context)

func GetNoteByID

func GetNoteByID(context *gin.Context)

func GetNotes

func GetNotes(context *gin.Context)

func ToggleCompleted

func ToggleCompleted(context *gin.Context)

func UpdateDescription

func UpdateDescription(context *gin.Context)

Types

type Note

type Note struct {
	ID          int    `json:"id"`
	Description string `json:"description"`
	Completed   bool   `json:"completed"`
}

Jump to

Keyboard shortcuts

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