From 99e750646e967fcbb7d700258a060224291f5b20 Mon Sep 17 00:00:00 2001 From: Kristian Borgwarth <10348902@pm.me> Date: Tue, 14 Apr 2026 05:47:46 +0200 Subject: [PATCH] setup(handler): added goto_note_handler --- core/handlers/note/goto_note_handler.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 core/handlers/note/goto_note_handler.go diff --git a/core/handlers/note/goto_note_handler.go b/core/handlers/note/goto_note_handler.go new file mode 100644 index 0000000..a48219c --- /dev/null +++ b/core/handlers/note/goto_note_handler.go @@ -0,0 +1,15 @@ +package note + +import "github.com/KristianJBorgwarth/dendrite.daemon/persistence/repositories" + +type gotoNoteCommand struct { + Slug string `json:"slug"` +} + +type gotoNoteResult struct { + Path string `json:"path"` +} + +type GotoNoteHandler struct{ + noteRepo repositories.INoteRepository +}