Merge branch 'master' into feat/create-note

This commit is contained in:
Kristian Borgwarth 2026-03-24 21:50:35 +01:00
commit fcb09e717d
5 changed files with 32 additions and 0 deletions

2
core/models/doc.go Normal file
View file

@ -0,0 +1,2 @@
// Package models contains the data models for the index
package models

7
core/models/links.go Normal file
View file

@ -0,0 +1,7 @@
package models
type Link struct {
FromNoteID int
ToNoteID int
Raw string
}

11
core/models/note.go Normal file
View file

@ -0,0 +1,11 @@
package models
type Note struct {
ID int
Path string
Title string
Slug string
CreatedAt string
UpdatedAt string
}

6
core/models/note_tag.go Normal file
View file

@ -0,0 +1,6 @@
package models
type NoteTag struct {
NoteID int
TagID int
}

6
core/models/tag.go Normal file
View file

@ -0,0 +1,6 @@
package models
type Tag struct {
ID int
Name string
}