setup(handler): added goto_note_handler

This commit is contained in:
Kristian Borgwarth 2026-04-14 05:47:46 +02:00
parent 16b41813ca
commit 99e750646e

View file

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