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 +}