aboutsummaryrefslogtreecommitdiff
path: root/internal/bookmarks
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-24 15:56:28 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-24 15:56:28 +0200
commitf48b79d8860e4c4616821ceeeea091ab4b838197 (patch)
tree3ee301f93c4df4a44e7d84bff8ece889e69e59e2 /internal/bookmarks
parent573aa8bf4677793c6d7da4ef08c79af241aca70e (diff)
downloadlectio-f48b79d8860e4c4616821ceeeea091ab4b838197.tar.gz
lectio-f48b79d8860e4c4616821ceeeea091ab4b838197.zip
bookmarks: per-verse (optional Verse field); web reader verse input + list shows Book Ch:V; v0.17.0
Diffstat (limited to 'internal/bookmarks')
-rw-r--r--internal/bookmarks/bookmarks.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/bookmarks/bookmarks.go b/internal/bookmarks/bookmarks.go
index 4b839ed..ac8926d 100644
--- a/internal/bookmarks/bookmarks.go
+++ b/internal/bookmarks/bookmarks.go
@@ -19,6 +19,7 @@ type Bookmark struct {
ID string `json:"id"`
Book string `json:"book"` // canonical English name (Bible-corpus key)
Chapter int `json:"chapter"`
+ Verse int `json:"verse,omitempty"` // 0 = whole chapter; >0 = a specific verse
Note string `json:"note"`
Tags []string `json:"tags"`
Created string `json:"created"` // RFC3339