dendrite.daemon/core/handlers/note/goto_note_handler.go

15 lines
284 B
Go

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
}